FAQ  •  Register  •  Login

Reverse Proxy Serviio via sub path

<<

HorsePDF

Serviio newbie

Posts: 1

Joined: Tue Sep 28, 2021 12:18 pm

Post Tue Sep 28, 2021 12:26 pm

Reverse Proxy Serviio via sub path

Hey,

I have a domain like apps.xyz.com 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
  Code:
   
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;

        proxy_pass http://172.16.0.123:23423/;
}


Resulting failure example
  Code:
GET 404 - https://apps.xyz.com/rest/library-status


Need the application to be making the request to
  Code:
https://apps.xyz.com/serviio/rest/library-status


Thanks in advance
<<

seanhodg

User avatar

Serviio newbie

Posts: 1

Joined: Sat Sep 25, 2021 7:01 pm

Post Fri Feb 18, 2022 8:28 pm

Re: Reverse Proxy Serviio via sub path

do you use any proxy for your work?

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 14 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.