From 843b01e52d8b57a0c5f680b3f3a0188a595b9616 Mon Sep 17 00:00:00 2001 From: Diego Lendoiro Date: Thu, 8 Jun 2017 15:24:24 +0200 Subject: [PATCH] Allow all http verbs --- conf/passbolt.conf | 10 ---------- 1 file changed, 10 deletions(-) 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;