I’ve been struggling for several days to install a Wallabag docker image on my Hestia CP server.
I followed the instructions in the Docker documentation, to create a docker-compose.yml file and at SYMFONY__ENV__DOMAIN_NAME I put: https://wb.mycloud.com
But I’m stuck at the reverse proxy configuration stage.
I went to /usr/local/hestia/data/templates/web/nginx/, copied the existing template and modified it.
But I don’t know how I can modify the template, what I should keep and what I can change. Every time I try to enter the new modified template in the HestiaCP Edit Web Domain > Proxy template interface, I get a nginx error.
The tutorial gives the template as :
server {
listen 443;
server_name wallabag.foo.bar;ssl on;
ssl_certificate /etc/letsencrypt/live/wallabag.foo.bar/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/wallabag.foo.bar/privkey.pem;location / {
proxy_pass http://wallabag;
proxy_set_header X-Forwarded-Host $server_name;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-For $remote_addr;
}}
Could you help me make wallabag accessible from https://wb.mycloud.com? Thanks for your help.