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
Could you post the entire config file? if you are using sonarr.yourdomain.com and sonarr is the only thing at http://192.168.178.41:8989, you would not need the subdomain. but you do need the correct listening lines in the config. Please post the full sonarr.xxxxx.com config.