installing Nginx Core and Modules from Source

来源:互联网 发布:淘宝商品无缘无故下架 编辑:程序博客网 时间:2024/06/05 01:20

git clone https://github.com/nginx/nginx
cd nginx && ./configure –prefix=HOMEsbinpath=HOME/bin/nginx –conf-path=HOME/nginx/nginx.confpidpath=HOME/nginx/logs/nginx.pid –error-log-path=HOME/nginx/logs/error.loghttplogpath=HOME/nginx/logs/access.log –user=(whoami) –group=nobody –without-http_gzip_module –with-http_rewrite_module -with-http_proxy_module –without-http_ssl_module –with-debug –with-pcre-jit  
make -j && make install
HOME/bin/nginx

原创粉丝点击