Created
May 22, 2015 12:46
-
-
Save mgax/7e03f7d0c5f0c9387255 to your computer and use it in GitHub Desktop.
nginx static websites config
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 ~^(?<name>.+)\.static\.devel$; | |
root /var/local/www-static/$name; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment