nginx-(/usr/local/nginx)配置编译
Posted Mita Chen
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了nginx-(/usr/local/nginx)配置编译相关的知识,希望对你有一定的参考价值。
./configure --prefix=/usr/local/nginx --sbin-path=/usr/local/nginx/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --error-log-path=/usr/local/nginx/logs/error.log --http-log-path=/usr/local/nginx/logs/access.log --pid-path=/usr/local/nginx/var/nginx.pid --lock-path=/usr/local/nginx/var/nginx.lock --http-client-body-temp-path=/dev/shm//nginx_temp/client_body \ --http-proxy-temp-path=/dev/shm/nginx_temp/proxy --http-fastcgi-temp-path=/dev/shm/nginx_temp/fastcgi --user=www --group=www --without-select_module --without-poll_module --with-http_realip_module --with-http_sub_module --with-http_gzip_static_module --with-http_stub_status_module --without-http_ssi_module --without-http_userid_module --without-http_geo_module --without-http_memcached_module --without-http_map_module --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --with-pcre
以上是关于nginx-(/usr/local/nginx)配置编译的主要内容,如果未能解决你的问题,请参考以下文章
解决 nginx: [error] open() /usr/local/nginx/logs/nginx.pid failed 错误