Created
March 24, 2022 05:13
-
-
Save matheusdavidson/79a52af0b055fb2e7dcb90d59d7e373c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# replace example.com for your domain | |
server_name example.com; | |
if ($http_x_forwarded_proto = "http") { | |
return 301 https://$host$request_uri; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment