Merge "[sync/mitaka] Don't allow POST requests to the static files" into stable/newton

This commit is contained in:
Jenkins 2017-01-18 10:25:49 +00:00 committed by Gerrit Code Review
commit 39d188a96f

View File

@ -71,7 +71,7 @@ server {
}
location / {
if ( $request_method !~ ^(GET|HEAD|POST)$ ) {
if ( $request_method !~ ^(GET|HEAD)$ ) {
return 444;
}
expires -1;