Local UI settings are lost with SABnzbd behind reverse proxy

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
jant90
Newbie
Newbie
Posts: 5
Joined: December 16th, 2015, 8:44 pm

Local UI settings are lost with SABnzbd behind reverse proxy

Post by jant90 »

I have SABnzbd set up behind a reverse proxy using Apache 2.4. I'm also using a HTTPS connection (with valid SSL certificate), not sure if that makes a difference.

My reverse proxy settings looks like this:
<Location /sabnzbd>
ProxyPass http://localhost:8080/sabnzbd
ProxyPassReverse http://localhost:8080/sabnzbd
</Location>

Now, settings of the SABnzbd UI are lost (like container width and refresh rate) and I believe these settings are stored in the browsers local storage. So I tried various settings using the ProxyPassReverseCookieDomain directive to see if these values would get stored properly. For example:
ProxyPassReverseCookieDomain localhost:8080 domain.tld
ProxyPassReverseCookieDomain localhost domain.tld

And I tried these both in- and outside the Location directive.

None of these settings helped. I must also note that I also run Sonarr and CouchPotato behind the same reverse proxy and I don't know if their local storage can overwrite each other or something.

Anyways, how can I fix my reverse proxy settings for SABnzbd?
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Local UI settings are lost with SABnzbd behind reverse p

Post by shypike »

If you access the three apps one by one and you use a cookie manager, do you see any cookies being created?
(I use CookieCuller for Firefox).
jant90
Newbie
Newbie
Posts: 5
Joined: December 16th, 2015, 8:44 pm

Re: Local UI settings are lost with SABnzbd behind reverse p

Post by jant90 »

I'm not sure what did it but recently cookies such as plushContainerWidth started appearing in Chrome and user settings appear to be stored correctly now. There are a whole lot of cookies, "Local storage" and "File system" cookies for my domain now (29.5MB) because of all the web apps running on that domain (most of which behind the reverse proxy) and for some reason it just took a while for the SABnzbd settings to be stored properly (these cookies didn't show up at all when I made this thread). These settings are in "normal" cookies btw.
Post Reply