Created
October 30, 2009 06:09
-
-
Save alvin2ye/222175 to your computer and use it in GitHub Desktop.
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
# remove apt-get nginx | |
sudo apt-get remove nginx | |
sudo gem install passenger | |
sudo passenger-install-nginx-module | |
# setting project | |
sudo vi /opt/nginx/conf/nginx.conf | |
server { | |
listen 80; | |
server_name hw.agideo.com; | |
root /home/agideo/www/hw/public; | |
passenger_enabled on; | |
} | |
# restart | |
sudo /opt/nginx/sbin/nginx -s reload | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment