Post Tue Sep 28, 2021 12:26 pm

Reverse Proxy Serviio via sub path


I have a domain like that hosts a bunch of things.

Each app is located in a path underneath the hostname, and I'm using nginx to reverse proxy to the correct location.

The only app I can't get working is Serviio right now - I can get the assets such as HTML, CSS and JS to load, but the application seems to be making API requests directly to /rest/... where the app is now hosted at /serviio/console/...

Some of the other applications I set up didn't need any special configuration, but some needed me to set the web path in configuration which then allowed this to work simply. But I can't find any such configuration option for Serviio.

Is this possible? Any advice? I've had a search on the forum but it's mostly using subdomains instead of path to separate apps which is not what I want to do ideally...

Nginx config
location /serviio/ {
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;


Resulting failure example
GET 404 -

Need the application to be making the request to

Thanks in advance