Created
March 9, 2014 16:09
-
-
Save mzdravkov/9450004 to your computer and use it in GitHub Desktop.
nginx
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 41013; | |
server_name xyz.com; | |
rewrite ^(.*) http://llama.xyz.com/$1 permanent; | |
} | |
server { | |
listen 80; | |
server_name llama.xyz.com; | |
# some config... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment