From e5692fd9240866e209ae107f7948bc99b044483b Mon Sep 17 00:00:00 2001 From: mbugeia Date: Tue, 27 Oct 2015 16:06:56 +0100 Subject: [PATCH] Remove https rewrite, not needed --- conf/nginx.conf | 5 ----- 1 file changed, 5 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 59938b5..2033083 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -3,11 +3,6 @@ location YNH_WWW_PATH { # Path to source alias YNH_WWW_ALIAS ; - # rewrite all http request to https - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } - # Example PHP configuration index index.php;