Page 1 of 1

Local UI settings are lost with SABnzbd behind reverse proxy

Posted: December 27th, 2015, 11:43 am
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?

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

Posted: December 28th, 2015, 3:12 am
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).

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

Posted: January 20th, 2016, 10:49 am
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.