Created
May 31, 2018 06:46
-
-
Save ismailmechbal/14abb16b89b60374994badd4529cb9e3 to your computer and use it in GitHub Desktop.
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
# Route subdomains to folder | |
server { | |
server_name ~^(www\.)(?<subdomain>.+).jgefroh.com$ ; | |
root /var/www/jgefroh.com/$subdomain; | |
} | |
server { | |
server_name ~^(?<subdomain>.+).jgefroh.com$ ; | |
root /var/www/jgefroh.com/$subdomain; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment