Skip to content

Commit

Permalink
Merge pull request #47 from Dan-sup/feat/deploy
Browse files Browse the repository at this point in the history
feat: nginx 리다이렉트 로직 추가
  • Loading branch information
haen-su authored Jul 13, 2023
2 parents dbf3ac3 + 6e08f93 commit 1547d88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

}

0 comments on commit 1547d88

Please sign in to comment.