Created
May 14, 2017 04:25
-
-
Save faizanayubi/c6e7cc4ba712a211f94afdaf33f116af to your computer and use it in GitHub Desktop.
Redirect to SSL
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
server { | |
listen 172.31.20.172:80; | |
server_name m.vnative.com; | |
## redirect http to https ## | |
rewrite ^ https://$server_name$request_uri permanent; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment