diff --git a/conf/passbolt.conf b/conf/passbolt.conf index 1f750c8..57df81e 100644 --- a/conf/passbolt.conf +++ b/conf/passbolt.conf @@ -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;