Hi,
Right now I use port 80 and 443 with forced SSL for accessing my OMV admin pages outside my network. This works great, and I have setup my different plugins with reverse proxy to be able to access CouchPotato, Sonarr, Transmission etc.
To access sonarr I go to: sonarr.XXX.com (which really transfers me to omv.XXX.com/sonarr/).
My reverse proxy looks like this:
location /sonarr/ {
proxy_pass http://localhost:8989;
include /etc/nginx/openmediavault-webgui.d/proxy.conf;
}
The included conf looks like this:
proxy_redirect off;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
What I want now is to set my webserver to port 80 and 443 to use my server as a Wordpress host. I have set the OMV settings to port 81 and port 444 which means I can access my Wordpress via my domain. I can also access OMV and plugins when visiting omv.XXX.com:444/sonarr/.
What I want to do now is the still be able to visit my OMV admin and plugins without the need of the port number.
So how do I rewrite my NGinx Reverse proxy I posted to make sure that I can reach my OMV admin and Plugins without writing the port number?
Thank you in advance!