Skip to content

Instantly share code, notes, and snippets.

@wittawasw
Last active August 29, 2015 13:57
Show Gist options
  • Save wittawasw/9543462 to your computer and use it in GitHub Desktop.
Save wittawasw/9543462 to your computer and use it in GitHub Desktop.
./configure \
--user=nginx \
--group=nginx \
--prefix=/etc/nginx \
--sbin-path=/usr/sbin/nginx \
--conf-path=/etc/nginx/nginx.conf \
--pid-path=/var/run/nginx.pid \
--lock-path=/var/run/nginx.lock \
--error-log-path=/var/log/nginx/error.log \
--http-log-path=/var/log/nginx/access.log \
--with-http_gzip_static_module \
--with-http_stub_status_module \
--with-http_ssl_module \
--with-http_spdy_module \
--with-pcre=PCRE_PATH \
--with-file-aio \
--with-http_realip_module \
--add-module=$PASSENGER_NGINX_DIR \
--add-module=PAGESPEED_SOURce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment