Created
September 10, 2013 03:47
-
-
Save SharaaEsper/6504718 to your computer and use it in GitHub Desktop.
Basic redirect
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 80; | |
server_name DOMAIN.COM WWW.DOMAIN.COM; | |
location / { | |
return 301 http://otherdomain.com; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment