From c4e0bc310bbc6183787ce74ceba6a916aada4d64 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Fri, 5 Aug 2022 10:56:34 +0200 Subject: [PATCH] Appease linter: redirect to https is now handled by the Core --- conf/nginx.conf | 4 ---- 1 file changed, 4 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 8a7374e..67bbe89 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -4,10 +4,6 @@ location __PATH__/ { # Path to source alias __FINALPATH__/public/ ; - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } - index index.php; # Bug in Nginx with locations and aliases (see http://stackoverflow.com/a/35102259 )