syntax: fastcgi_cache_methods [GET HEAD POST];
default: fastcgi_cache_methods GET HEAD;
context: main, http, location
This directive specifies which HTTP methods are allowed to be used when caching FastCGI requests. Note that GET and HEAD are syntactic sugars, i.e., a mere convenience in terms of this directive configuration logic. They cannot be disabled even if you set:
fastcgi_cache_methods POST; # note that GET and HEAD are still enabled