From 6e08f93c8e57af8b2dd32191c291fd652a3ddf3f Mon Sep 17 00:00:00 2001 From: haen-su Date: Thu, 13 Jul 2023 09:57:06 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20nginx=20=EB=A6=AC=EB=8B=A4=EC=9D=B4?= =?UTF-8?q?=EB=A0=89=ED=8A=B8=20=EB=A1=9C=EC=A7=81=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/nginx/nginx.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; + } }