Re: proxy_cache_methods OPTIONS;

2014-01-27 Thread Maxim Dounin
Hello! On Fri, Jan 24, 2014 at 03:33:39PM -0800, Jeroen Ooms wrote: Is it possible to cache the OPTIONS method? This pages gives exactly that example: http://www.packtpub.com/article/nginx-proxy proxy_cache_methods OPTIONS; However, when I try this, nginx writes in the error log

Re[2]: proxy_cache_methods OPTIONS;

2014-01-26 Thread wishmaster
--- Original message --- From: Jeroen Ooms jeroen.o...@stat.ucla.edu Date: 26 January 2014, 05:27:46 On Fri, Jan 24, 2014 at 11:42 PM, wishmaster wrote: What is your proxy_cache_methods value? I tried both proxy_cache_methods OPTIONS; Because OPTIONS means any

Re[3]: proxy_cache_methods OPTIONS;

2014-01-26 Thread wishmaster
proxy_cache_methods value? I tried both proxy_cache_methods OPTIONS; Because OPTIONS means any of this values: GET, HEAD,POST, etc. The HTTP method like OPTIONS is absent. Oops, sorry, my mistake after hard night :). Try GET, HEAD or only

Re: proxy_cache_methods OPTIONS;

2014-01-25 Thread Jeroen Ooms
On Fri, Jan 24, 2014 at 11:42 PM, wishmaster artem...@ukr.net wrote: What is your proxy_cache_methods value? I tried both proxy_cache_methods OPTIONS; as well as proxy_cache_methods GET HEAD OPTIONS; but both gave the error. ___ nginx

proxy_cache_methods OPTIONS;

2014-01-24 Thread Jeroen Ooms
Is it possible to cache the OPTIONS method? This pages gives exactly that example: http://www.packtpub.com/article/nginx-proxy proxy_cache_methods OPTIONS; However, when I try this, nginx writes in the error log: [warn] 7243#0: invalid value OPTIONS