1 ./configure \
2 --prefix=/usr/local/nginx \
3 --conf-path=/usr/local/nginx/conf/nginx.conf \
4 --pid-path=/usr/local/nginx/conf/nginx.pid \
5 --lock-path=/var/lock/nginx.lock \
6 --error-log-path=/var/log/nginx/error.log \
7 --http-log-path=/var/log/nginx/access.log \
8 --with-http_gzip_static_module \
9 --http-client-body-temp-path=/var/temp/nginx/client \
10 --http-proxy-temp-path=/var/temp/nginx/proxy \
11 --http-fastcgi-temp-path=/var/temp/nginx/fastcgi \
12 --http-uwsgi-temp-path=/var/temp/nginx/uwsgi \
13 --http-scgi-temp-path=/var/temp/nginx/scgi