Created
June 13, 2015 18:13
-
-
Save theepicsnail/f3ee120f2bb6274bc141 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 80; | |
server_name ~^(.*).theepicsnail.net; | |
root /home/snail/public_html/$1/; | |
charset utf-8; | |
location / { | |
autoindex on; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment