diff --git a/nginx-core/etc/nginx/templates/location.d/31-allow-method.conf.template b/nginx-core/etc/nginx/templates/location.d/31-allow-method.conf.template index 5ffa49c..d434b54 100644 --- a/nginx-core/etc/nginx/templates/location.d/31-allow-method.conf.template +++ b/nginx-core/etc/nginx/templates/location.d/31-allow-method.conf.template @@ -1,3 +1,3 @@ -if ($request_method !~ ^(GET|HEAD|POST)$ ) { +if ($request_method !~ ^GET$ ) { return 405; }