proxy_cache_methods OPTIONS;

Maxim Dounin mdounin at
Mon Jan 27 15:19:36 UTC 2014


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:
> proxy_cache_methods OPTIONS;
> However, when I try this, nginx writes in the error log:
>  [warn] 7243#0: invalid value "OPTIONS" in ...

As of now, only GET, HEAD and POST methods can be used in 
proxy_cache_methods.  Allowed values are listed in syntax at

Maxim Dounin

More information about the nginx mailing list