Created
March 7, 2011 07:27
-
-
Save minhajuddin/858186 to your computer and use it in GitHub Desktop.
nginx setup stuff
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
| #create sites-enabled directory to hold config symlinks | |
| sudo mkdir -p /etc/nginx/sites-enabled | |
| #symlink the webapps directory to /var/www/apps | |
| sudo mkdir -p /var/www | |
| sudo ln -ns /home/minhajuddin/webapps /var/www/apps | |
| #symlink an nginx config file to a webapps config file | |
| sudo ln -ns /var/www/apps/ramanujan/config/nginx.conf /etc/nginx/sites-enabled/ramanujan.conf | |
| #hookup /etc/init.d/nginx to auto-start at startup | |
| /usr/sbin/update-rc.d -f nginx defaults |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment