Page 1 of 1

change webroot

Posted: December 21st, 2016, 2:37 pm
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

Re: change webroot

Posted: December 21st, 2016, 4:17 pm
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

Re: change webroot

Posted: December 22nd, 2016, 6:42 am
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