Created
December 31, 2018 12:44
-
-
Save RAnders00/39c00ac2ba8251d5eaf9cd927123a084 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
# example.com and subdomains | |
server { | |
listen 80; | |
listen [::]:80; | |
server_name example.com *.example.com; | |
return 301 https://$host$request_uri; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment