Skip to content

Commit

Permalink
Update DEPLOYMENT.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksontromero authored Jan 11, 2025
1 parent 8e6cd0f commit 999ee39
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions DEPLOYMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,11 @@ server {
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
# This is old and seemingly not needed, could cause ERR_TOO_MANY_REDIRECTS
# Redirect non-https traffic to https
if ($scheme != "https") {
return 301 https://$host$request_uri;
} # managed by Certbot
# if ($scheme != "https") {
# return 301 https://$host$request_uri;
# } # managed by Certbot
location /ohq/ {
rewrite /ohq/(.*) /$1 break;
Expand Down

0 comments on commit 999ee39

Please sign in to comment.