Skip to content

Instantly share code, notes, and snippets.

@neophiliac
Created October 2, 2011 17:18
Show Gist options
  • Save neophiliac/1257657 to your computer and use it in GitHub Desktop.
Save neophiliac/1257657 to your computer and use it in GitHub Desktop.
build nginx with passenger and ssl
# run from inside nginx directory
./configure --prefix='/opt/nginx' --with-pcre='../pcre-8.12' \
--add-module='/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.8/ext/nginx' \
--without-http_autoindex_module \
--without-http_ssi_module \
--with-openssl=../openssl-1.0.0d/ \
--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/subsys/nginx \
--with-http_gzip_static_module \
--http-client-body-temp-path=/var/lib/nginx/tmp/client_body/ \
--http-proxy-temp-path=/var/lib/nginx/tmp/proxy/ \
--with-http_stub_status_module \
--with-http_ssl_module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment