Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

Commit

Permalink
Update index.md (#1874)
Browse files Browse the repository at this point in the history
* Update index.md

Updated NGINX HTTPS redirection.

* Update nginx.md

update the server block bracket.

* Update index.md

Co-authored-by: Todd Kopriva <43478937+ToddKopriva@users.noreply.github.com>
  • Loading branch information
armanism24 and ToddKopriva authored Jul 8, 2021
1 parent 4f13006 commit 824fb3c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tutorials/https-load-balancing-nginx/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,9 @@ balancer:

server {
listen 80;
return 301 https://$host$request_uri;
if ($scheme = "http") {
return 301 https://$host$request_uri;
}
}

1. Save and close the virtual host file.
Expand Down

0 comments on commit 824fb3c

Please sign in to comment.