Skip to content

Commit

Permalink
Install Nginx fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Nov 21, 2011
1 parent ebb2fe5 commit f21bf81
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions install_nginx
Expand Up @@ -6,11 +6,12 @@ mkdir ext
cd ext
git clone git://github.com/mdirolf/nginx-gridfs.git
cd nginx-gridfs
checkout v0.8
git checkout v0.8
git submodule init
git submodule update
cd ../..
./configure --with-http_ssl_module --with-http_realip_module --with-http_stub_status_module --with-http_gzip_static_module --add-module=ext/nginx-gridfs/

cd ..
rm -R nginx/
sudo cp nginx /etc/init.d/
sudo update-rc.d nginx defaults

0 comments on commit f21bf81

Please sign in to comment.