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?
<<

SsCoobyDoO

User avatar

Serviio newbie

Posts: 8

Joined: Fri Jan 06, 2023 11:52 am

Post Tue Oct 01, 2024 12:36 pm

Re: Reverse Proxy Serviio via sub path

Setting up reverse proxies can be a bit of a puzzle, especially with apps like Serviio. I ran into a similar situation when I was trying to configure some streaming services. What ended up working for me was using 4G/LTE/5G rotating mobile proxy to handle the requests more seamlessly. It felt like a game-changer since they helped with path issues and maintained smooth connections. As for Serviio, I remember scouring the forum for tips and found that configuring the web path in the settings often did the trick for other apps. It's frustrating that Serviio doesn't seem to have a similar option.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 68 guests

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