Created
January 13, 2014 22:40
-
-
Save phirework/8409538 to your computer and use it in GitHub Desktop.
nginx configuration for virtual sites
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
# If you installed nginx with homebrew, go to /usr/local/etc/nginx, and create these directories: | |
mkdir sites-available | |
mkdir sites-enabled | |
# Add the following to nginx.conf before the final } | |
include /usr/local/etc/nginx/sites-enabled/*; | |
# Put your virtual host config files in ./sites-available and symlink as necessary | |
ln -s /sites-available/custom.conf /sites-enabled/custom.conf | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment