Join us on Discord! We now have an official Discord server for OpenFLIXR: https://discord.gg/PcCErTQ , these forums will continue to operate as normal.

Fix in nginx reverse proxy for NZBget

browser was caching content as such was unable to use the auto refresh in NZBget.

added

	add_header 'Cache-Control' 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
	expires off;

to location /nzbget in /etc/nginx/sites-enabled/openflixr.conf


Thought I give you heads up for programs that use active refreshing.

Comments

  • edited March 21

    this will be fixed in 2.9.1 on a higher level. Also /etc/nginx/sites-enabled/openflixr.conf is dynamically computed at startup of machine, so any editing will be gone.


    If you must edit core blocks, you can do so in /opt/openflixr/userscript.sh and sed or whatever you like /etc/nginx/sites-enabled/openflixr.conf. This is possible because /opt/openflixr/userscript.sh is loaded after openflixr.conf is created.

Sign In or Register to comment.