Page 1 of 1

changing host url for proxypass

Posted: August 26th, 2020, 6:37 pm
by indiana4512
Hello,

I am running sabnzbd fine on Feralhosting server. With the default configuration, obviously it runs at

Code: Select all

server.feralhosting com:port/sabnzbd
. I need it to run at

Code: Select all

server.feralhosting com:port/username/sabnzbd
so i can then use proxypass to cover it under the servers ssl cert. Feral says i need to modify the python file to do this but refuses to give any further instructions on how, and my limited skill is proving difficult to find the answer.

I am using proxpass in apache for all the other url shortenings i am doing (eg, for sonarr ect) with no issue. My understanding is there is something i have to do in sab to change the URL to this format and then i can correctly use the proxpass.Can someone tell me how to change it so it is in the

Code: Select all

server.feralhosting com:port/username/sabnzbd 
Sorry i know this comes up all the time but my knowledge is confused by all the mentions of reverse proxy in google. do i change it in the general settings the sab host from server.feralhosting com to server.feralhosting com/username would that be enough?

Re: changing host url for proxypass

Posted: August 27th, 2020, 3:00 am
by safihre
In Config > Specials, you can change the url_base setting.
I think that would solve your problem?
I am no proxy expert, but I made this setting for people that need it!

Re: changing host url for proxypass

Posted: August 27th, 2020, 4:18 pm
by indiana4512
I tried changing this in general>host to the field i needed but after a restart it reverts back to server.feralhosting com.

any other ideas?

The instructions from feral say this

Code: Select all

The guides and examples here assume you can run your software in the format 
http://server.feralhosting com:port/username/software. 
Some software might hardcode a different format, for instance rewriting out the username. 
By default, SABnzbd is an example of this and needs its Python script edited before it can be proxypassed. 
what is the python script i need to edit?

Re: changing host url for proxypass

Posted: August 29th, 2020, 9:42 am
by safihre
No, not in General. Please read my previous post.
Go to Config > Specials and change the url_base setting.