diff --git a/nginx.conf b/nginx.conf index 204fa5675d9..ade53d02c98 100644 --- a/nginx.conf +++ b/nginx.conf @@ -40,14 +40,14 @@ http { server_name localhost; root public; - ## Force https - set $updated_host $host; - if ($http_x_forwarded_host != "") { - set $updated_host $http_x_forwarded_host; - } - if ($http_x_forwarded_proto != "https") { - return 301 https://$updated_host$request_uri; - } + ## temporarily dont force https + ## set $updated_host $host; + ## if ($http_x_forwarded_host != "") { + ## set $updated_host $http_x_forwarded_host; + ## } + ## if ($http_x_forwarded_proto != "https") { + ## return 301 https://$updated_host$request_uri; + ## } index index.html; autoindex off; @@ -56,4 +56,4 @@ http { include conf.d/*.conf; } -} \ No newline at end of file +}