- ユーザ
nginx:nginx
- php-fpm想定、fastcgi有り
- uwsgi・scgi無し
- spdyアリ
- TCP-Proxy可能バージョン
- binのpath以外はapt準拠
- prefixを/usrに変えてsbin-pathを/usr/sbinにすればよい
- ngx_pagespeedをaddしているので、適宜入手、もしくは該当行を削除
- pagespeed/ngx_pagespeed
Last active
December 19, 2015 13:49
-
-
Save geta6/5964878 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
git clone git://github.com/nginx/nginx.git && cd nginx | |
git checkout v1.4.1 | |
./configure \ | |
--user=nginx \ | |
--group=nginx \ | |
--prefix=/usr/local \ | |
--sbin-path=/usr/local/sbin/nginx \ | |
--conf-path=/etc/nginx/nginx.conf \ | |
--http-log-path=/var/log/nginx/access.log \ | |
--error-log-path=/var/log/nginx/error.log \ | |
--http-proxy-temp-path=/var/lib/nginx/tmp/proxy \ | |
--http-client-body-temp-path=/var/lib/nginx/tmp/client_body \ | |
--http-fastcgi-temp-path=/var/lib/nginx/tmp/fastcgi \ | |
--pid-path=/run/nginx.pid \ | |
--lock-path=/var/lock/subsys/nginx \ | |
--with-http_ssl_module \ | |
--with-http_dav_module \ | |
--with-http_spdy_module \ | |
--with-http_sub_module \ | |
--with-http_xslt_module \ | |
--with-http_realip_module \ | |
--with-http_degradation_module \ | |
--with-http_gzip_static_module \ | |
--with-http_image_filter_module \ | |
--with-http_secure_link_module \ | |
--with-http_addition_module \ | |
--with-mail \ | |
--with-mail_ssl_module \ | |
--without-http_scgi_module \ | |
--without-http_uwsgi_module \ | |
--add-module=modules/ngx_pagespeed | |
make && make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment