changing host url for proxypass

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
indiana4512
Newbie
Newbie
Posts: 2
Joined: August 26th, 2020, 6:22 pm

changing host url for proxypass

Post 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?
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: changing host url for proxypass

Post 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!
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
indiana4512
Newbie
Newbie
Posts: 2
Joined: August 26th, 2020, 6:22 pm

Re: changing host url for proxypass

Post 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?
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: changing host url for proxypass

Post by safihre »

No, not in General. Please read my previous post.
Go to Config > Specials and change the url_base setting.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply