diff --git a/config/nginx/nginx.conf b/config/nginx/nginx.conf index e6dcaf8..4029c31 100644 --- a/config/nginx/nginx.conf +++ b/config/nginx/nginx.conf @@ -10,8 +10,8 @@ server { proxy_redirect off; } -# if ($http_x_forwarded_proto != 'https') { -# return 301 https://$host$request_uri; -# } + if ($http_x_forwarded_proto != 'https') { + return 301 https://$host$request_uri; + } }