I have two identical web servers behind an nginx reverse proxy. Both web servers normally share the load but during redeployment I need to take one out of rotation. I want to control this using the presence or absence of files. This way works but it is not symmetrical (file for node1 but not node2) and it requires these repeated location sections and repeated definitions of upstreams. Is tby adriannye - How to...
I can't make nginx stop caching these files and need help. This server has nginx as a frontend for django and apache. One of the directories /media/flash/data must NOT be cached since it is edited by django. I have set headers to turn caching off, and confirmed that this is making the browser not cache, but nginx is still caching it, even though the date of the file is newer than the Expirby adriannye - Nginx Mailing List - English