记录安装nginx配置初始化
./configure
--prefix=/data/services/nginx-1.10.2
--user=www
--group=www
--with-http_ssl_module
--with-http_realip_module
--with-http_addition_module
--with-http_sub_module
--with-http_dav_module
--with-http_flv_module
--with-http_mp4_module
--with-http_gzip_static_module
--with-http_random_index_module
--with-http_secure_link_module
--with-http_stub_status_module
--with-file-aio
--with-pcre=../pcre-8.39
--with-pcre-jit
--with-openssl=../openssl-1.0.2f
--with-zlib=../zlib-1.2.8
--http-client-body-temppath=/dev/shm/nginx_client_body_temp
--http-proxy-temp-path=/dev/shm/nginx_proxy_temp
--http-fastcgi-temp-path=/dev/shm/nginx_fastcgi_temp
--http-uwsgi-temp-path=/dev/shm/nginx_uwsgi_temp
--http-scgi-temp-path=/dev/shm/nginx_scgi_temp
--add-module=../echo-nginx-module-master
--add-module=../nginx-http-concat-master
--add-module=../headers-more-nginx-module-master
--pid-path=/data/services/nginx-1.10.2/run
需要用到插件:
echo-nginx-module-master.zip
headers-more-nginx-module-master.zip
nginx-http-concat-master.zip
openssl-1.0.2f.tar.gz
pcre-8.39.tar.gz
zlib-1.2.8.tar.gz