I have installed several LXC containers with Proxmox including Sonarr of course.
Now I have installed a separate container with Nginx and already created certificates and reach the webserver from outside. But unfortunately the forwarding /sonarr does not work.
I took the sample configuration for Nginx directly from here.
I already added the extension /sonarr.
Structure is the following:
NGINX Container 192.168.178.50
Sonarr 192.168.178.41 and this IP I have added as well
My /etc/nginx/sites-enabled/sonarr.XXXXX.com configfile
location / {
proxy_pass http://192.168.178.41:8989
proxy_set_header X-Real IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
But it just doesn’t work. There is always an error message that sonarr not found.