diff --git a/conf/nginx.conf b/conf/nginx.conf index 7970b97..af84758 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -21,11 +21,6 @@ location ^~ __PATH__/ { # Path to source alias __FINALPATH__/; - # Force usage of https - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } - # Add headers to serve security related headers more_set_headers "Strict-Transport-Security: max-age=15768000; includeSubDomains; preload;"; more_set_headers "Referrer-Policy: no-referrer";