I am trying to use the nginx plugin to create a website that has sub-directories that redirect to various other web plugins on the server. I'm trying to set up the website so that when I go to <OMV Server IP>:<website port>/plex it will redirect to <OMV Server IP>:32400 and /cloud will redirect to <OMV Server IP>:44330
Plex is running in docker and is bound to the host port 32400
I've tried using this in the nginx extra options:
Code
location /plex
{
proxy_pass http://localhost:<website port>;
proxy_set_header Host localhost:<website port>;
proxy_redirect default;
}
location /cloud
{
proxy_pass http://localhost:<website port>;
proxy_set_header Host localhost:<website port>;
proxy_redirect default;
}
Alles anzeigen
I get a 401 Error when I try to access that site. I'm unsure if it is the website not working correctly because of a setting in plex or (more likely) the configuration is incorrect.