Re: if-none-match with proxy_cache : properly set headers

2013-09-28 Thread neoascetic
It is good to have `$request_method` in the cache key since HEAD and GET methods may share same hash for content they point to Posted at Nginx Forum: http://forum.nginx.org/read.php?2,239689,243239#msg-243239 ___ nginx mailing list nginx@nginx.org http

Re: if-none-match with proxy_cache : properly set headers

2013-09-28 Thread neoascetic
Default approach doesn't work for me. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,239689,243238#msg-243238 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Override proxy's incorrect Content-Type via mime settings

2013-09-23 Thread neoascetic
Have same problem, but for different types of files. I have found a workaround using "map" directive, where pattern is an URI extension and value is a mime-type, but seems a little bit weird and requires to create a map from all possible extension. Is there any way to reuse standard "mime.types" t