Merge "[sync/mitaka] Don't allow POST requests to the static files" into stable/newton
This commit is contained in:
commit
39d188a96f
@ -71,7 +71,7 @@ server {
|
||||
}
|
||||
|
||||
location / {
|
||||
if ( $request_method !~ ^(GET|HEAD|POST)$ ) {
|
||||
if ( $request_method !~ ^(GET|HEAD)$ ) {
|
||||
return 444;
|
||||
}
|
||||
expires -1;
|
||||
|
Loading…
Reference in New Issue
Block a user