Allow all http verbs

This commit is contained in:
Diego Lendoiro 2017-06-08 15:24:24 +02:00
parent a618645950
commit 843b01e52d
1 changed files with 0 additions and 10 deletions

View File

@ -25,11 +25,6 @@ server {
# This will enforce HTTP browsing into HTTPS and avoid ssl stripping attack
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains;";
## Only GET, Post, PUT are allowed##
if ($request_method !~ ^(GET|PUT|POST)$ ) {
return 444;
}
location / {
try_files $uri $uri/ /index.php?$args;
index index.php;
@ -80,11 +75,6 @@ server {
# This will enforce HTTP browsing into HTTPS and avoid ssl stripping attack
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains;";
## Only GET, Post, PUT are allowed##
if ($request_method !~ ^(GET|PUT|POST)$ ) {
return 444;
}
location / {
try_files $uri $uri/ /index.php?$args;
index index.php;