Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 12 lines (12 sloc) 0.414 kB
DIR=`pwd`
VERSION='1.4.4'
cd /tmp
curl -O http://nginx.org/download/nginx-$VERSION.tar.gz
tar zxf nginx-$VERSION.tar.gz
cd nginx-$VERSION
./configure --with-http_ssl_module --with-http_realip_module --with-http_stub_status_module --with-http_gzip_static_module --with-http_image_filter_module
make && sudo make install
rm -Rf /tmp/nginx-$VERSION/
cd $DIR
sudo cp nginx /etc/init.d/
sudo update-rc.d nginx defaults
Jump to Line
Something went wrong with that request. Please try again.