Created
October 8, 2016 05:25
-
-
Save bingluen/caf0fc2714fee3095c91395b7db477ad to your computer and use it in GitHub Desktop.
Nginx to ssl setting
This file contains 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
server { | |
listen 80; | |
listen [::]:80; | |
server_name domainName1 domainName2; | |
return 301 https://$host$request_uri; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment