From 48b9c551c5ba10952440e118148cad4086f89ff7 Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Sun, 19 Aug 2012 13:18:00 +0200 Subject: [PATCH] Fixed security issue with nginx configuration. --- doc/integration/web_servers.rst | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/doc/integration/web_servers.rst b/doc/integration/web_servers.rst index 100a585e8..a7de97298 100644 --- a/doc/integration/web_servers.rst +++ b/doc/integration/web_servers.rst @@ -96,11 +96,7 @@ following configuration:: proxy_set_header Host $http_host; proxy_redirect off; proxy_set_header X-Forwarded-Protocol ssl; - - if (!-f $request_filename) { - proxy_pass http://modoboa; - break; - } + proxy_pass http://modoboa; } }