Im running HestiaCP 1.2.1 on ubuntu 20.04. Im using my current server as a webserver and installed couple of docker apps ie. plex,sonar,radar). Im using cloudflare as my DNS (mainly because of the auto ssl feature)
My objective is to reverse proxy + ssl for all my docker apps. My settings are as below for eg.plex
docker app: Plex
port: 32400
domain: plex.mydomain.com
I’ll add nginx config for the domain to
/etc/nginx/conf.d/domains/plex.mydomain.com.conf
with the following setting:
server {
listen 192.168.1.100:80;
server_name plex.mydomain.com;
location / {
proxy_pass http://192.168.1.100:32400;
}
}
then i restarted the nginx server and the domain works for non-HTTPS plex
however when i set ssl config with HTTPS it will redirect me to the “success” webpage instead of my plex docker app. previously in vestaCP the setup above is sufficient to proxy pass into HTTPS address.
Does anyone have any idea how to do this with hestiacp? Thanks