change webroot

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
devildantsky
Newbie
Newbie
Posts: 2
Joined: December 21st, 2016, 2:32 pm

change webroot

Post by devildantsky »

hello,

i try to create a multiple instance of sabnzbd, and i would like access to sabnzbd with url http://exemple.com/userlogin/sabnzbd.
i search inside the conf and web but i don't found how change this webroot, could you help me ?


Best regards
User avatar
jcfp
Release Testers
Release Testers
Posts: 1032
Joined: February 7th, 2008, 12:45 pm

Re: change webroot

Post by jcfp »

devildantsky wrote:i search inside the conf and web but i don't found how change this webroot, could you help me ?
Changing sab's webroot isn't the solution here: you would still end up with your multiple instances of sab all trying to listen on the same standard port for web traffic (e.g. 80 resp. 443 for http/https) which isn't going to work.

Use a reverse proxy instead, see wiki for example configs of nginx and apache: https://sabnzbd.org/wiki/extra/howto-apache
devildantsky
Newbie
Newbie
Posts: 2
Joined: December 21st, 2016, 2:32 pm

Re: change webroot

Post by devildantsky »

Hello,

all instance use a different port, and I already use a reverse proxy, but i don't want create a subdomain for all user, just different root.
for exemple :
exemple.com/toto/sabnzbd > proxy_pass localhost:8080
exemple.com/titi/sabnzbd > proxy_pass localhost:8081
...

There is no way to change the webroot ?

best regards
Post Reply