Maxim, Yes, i've missed this "inactive" param - unfortunately expire time from upstream server was the same as default inactive value, with was misleading for me. May I suggest to add additional info about this inactive param to http://wiki.nginx.org/HttpProxyModule#proxy_cache_valid page? Thank you for your help! Regards, p.by piotr - Nginx Mailing List - English
Maxim, Sorry for the late response. I'm trying to hide those headers, you can see it in config posted before: proxy_ignore_headers X-Accel-Expires Expires Cache-Control Set-Cookie; proxy_cache_valid 200 302 600h; proxy_cache_valid any 90m; But as you can see, you can find expire, cache-control headers in proxy repsonse, and also in headers of stored cache files on disk. With values fby piotr - Nginx Mailing List - English
Maxim Dounin Wrote: > Try "nginx -t". If it doesn't help, please post > the full config > you're testing with. > Hi, Maxim, thank you for your response! I've checked both servers for config errors before, but without any clues. nginx -t nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf testby piotr - Nginx Mailing List - English
Hello, I've problem similar as in this thread: http://mailman.nginx.org/pipermail/nginx/2010-May/020349.html nginx is ignoring my proxy_cache_valid value, using instead expire time specified by upstream server. proxy_ignore_headers X-Accel-Expires Expires Cache-Control Set-Cookie; proxy_cache_valid 200 302 30h; proxy_cache_valid any 1h; headers from file stored on cache: **by piotr - Nginx Mailing List - English