Created
September 2, 2014 09:21
-
-
Save pjendrusik/bd75f3345391af0d4618 to your computer and use it in GitHub Desktop.
#nginx: redirect subdomain to url
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 { | |
server_name blog.example.com; | |
rewrite ^(.*) http://magazyn.example.com permanent; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment