Welcome! Log In Create A New Profile

Advanced

Proxy_cache_methods and OPTIONS

September 18, 2014 08:45PM
I have bounced around quite a lot through forums and documentation to demistique whether the OPTIONS request method is honoured/allowed by nginx when it's configured as reverse proxy cache system or not.
I used a test box with nginx 1.4.6 with

"proxy_cache_methods GET OPTIONS;"

to test certain use case for a client but, reloading nginx returned obvious exception that:

"invalid value "OPTIONS" in /etc/nginx/sites-enabled/default:35"

Documentation says:
=============================================
Syntax: proxy_cache_methods GET | HEAD | POST ...;
Default:

proxy_cache_methods GET HEAD;

Context: http, server, location
=============================================

but I dont' see 1. full list and 2. list of allowed methods when proxy_cache is configured - if it makes the difference.

Anyu thoughts?
Subject Author Posted

Proxy_cache_methods and OPTIONS

idabic September 18, 2014 08:45PM

Re: Proxy_cache_methods and OPTIONS

Maxim Dounin September 19, 2014 03:42AM

Re: Proxy_cache_methods and OPTIONS

idabic October 02, 2014 08:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 265
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready