Skip to content

Instantly share code, notes, and snippets.

@wxianfeng
Created March 25, 2012 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wxianfeng/2197309 to your computer and use it in GitHub Desktop.
Save wxianfeng/2197309 to your computer and use it in GitHub Desktop.
编译Nginx,添加SSl,gzip,pcre,passenger, module 支持
[root@localhost nginx-0.8.54]# passenger-config --root
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9
[root@localhost nginx-0.8.54]# ./configure --prefix=/usr/local/nginx \
> --with-http_ssl_module \
> --with-http_gzip_static_module \
> --with-pcre=/usr/local/src/pcre-7.9 \
> --add-module=/usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9/ext/nginx
>make
>sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment