Last active
August 23, 2018 06:36
-
-
Save vigneshragupathy/49e937a62b4493cb3a5cffba4aa5842c to your computer and use it in GitHub Desktop.
Sample nginx redirection
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; | |
server_name www.XXXX.com; | |
return 301 https://www.YYYY.com$request_uri; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment