I want to specify no caching for some responses from my (Pylons) upstream server in order to avoid users being able to access cached content after logoff. To do that I'm returning a no-cache header as per the nginx docs. Specifically, this one:
Cache-Control: max-age=0, must-revalidate, no-cache, no-store
Nginx returns a cached response anyway, ignoring my header. Any ideas why?