Skip to content

Instantly share code, notes, and snippets.

@morkevicius
Created October 16, 2015 13:28
Show Gist options
  • Save morkevicius/a55866dc3a0cdae2d8c5 to your computer and use it in GitHub Desktop.
Save morkevicius/a55866dc3a0cdae2d8c5 to your computer and use it in GitHub Desktop.
./configure \
--prefix=/opt/nginx \
--with-pcre='/home/ubuntu/_sources/pcre' \
--with-http_ssl_module \
--with-http_gzip_static_module \
--with-http_stub_status_module \
--with-cc-opt='-Wno-error' \
--add-module='/home/ubuntu/.rvm/gems/ruby-2.2.0/gems/passenger-5.0.7/ext/nginx' \
--conf-path=/etc/nginx/nginx.conf \
--http-log-path=/var/log/nginx/access.log \
--error-log-path=/var/log/nginx/error.log \
--pid-path=/var/run/nginx.pid \
--lock-path=/var/lock/nginx.lock \
--with-http_realip_module \
--without-mail_pop3_module \
--without-mail_imap_module \
--without-mail_smtp_module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment