Docker container on web domains - HestiaCP with proxy_pass

Hi,

On the same server I have HestiaCP and docker & docker-container. I run some apps here such as Bitwarden_rs, etc. I want to setup a web domain to show this app from docker, with proxy_pass function of nginx. I try to copy and edit the default template of nginx (/usr/local/hestia/data/templates/web/nginx/), I copy the .tpl and .stpl, I change the proxy_pass to localhost:port_of_my_app and I change the template in the domain (on HestiaCP panel). So what I do wrong, what should I change on default template or general what settings I shoud do?

you can change from web panel hestia for change Web Template → select your proxy name.

1 Like