From 50da702ae23744ad3ce91551acb7a4968a08b167 Mon Sep 17 00:00:00 2001 From: Fabian Wilkens Date: Tue, 4 Jan 2022 19:36:04 +0100 Subject: [PATCH] Fix: linter: remove http->https redirect --- conf/nginx.conf | 5 ----- 1 file changed, 5 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index dbf605d..52614d4 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -3,11 +3,6 @@ location __PATH__/ { # Path to source alias __FINALPATH__/live/public ; - # Force usage of https - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } - # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file client_max_body_size 25M;