[sync/mitaka] Don't allow POST requests to the static files
Fuel web is an actually the one page JavaScript based application so all the POST requests handled by the APIs via AJAX requests. Change-Id: Iaddad9eb7b13e6a7e590265fe248d27d3ec2b96c Closes-Bug: #1632701 Signed-off-by: Maksim Malchuk <mmalchuk@mirantis.com>
This commit is contained in:
parent
cd2b0719f5
commit
a32bcf58bd
@ -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