nginx 无缝升级以及nginx添加支持模块,nginx添加proxy_cache 模块

[root@localhost nginx-1.3.14]# ./configure --prefix=/usr/local/nginx --user=www --group=www --add-module=/usr/src/ngx_cache_purge-2.0 --with-http_stub_status_module –with-http_ssl_module

[root@localhost nginx-1.3.14]# make

[root@localhost nginx-1.3.14]# mv /usr/local/nginx/sbin/nginx /usr/local/nginx/sbin/nginx.bak

[root@localhost nginx-1.3.14]# cp objs/nginx /usr/local/nginx/sbin/nginx

[root@localhost nginx-1.3.14]# make upgrade

你可能感兴趣的:(nginx,proxy_cache)