diff --git a/nginx/conf/conf.d/default.conf b/nginx/conf/conf.d/default.conf index 7fa20161..7fed8eb7 100644 --- a/nginx/conf/conf.d/default.conf +++ b/nginx/conf/conf.d/default.conf @@ -3,7 +3,10 @@ server { listen [::]:80; server_name pomorodo.shop; - return 301 https://$host$request_uri; + # 더 견고한 HTTPS 리다이렉션 + location / { + return 301 https://$host$request_uri; + } } server { @@ -23,4 +26,4 @@ server { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } -} \ No newline at end of file +}