首页 > nginx编译安装

nginx编译安装

第一次编译安装nginx,编译的参数是: 问题是现在启动nginx,为什么多了一个" /",空格和斜杠。

./configure --prefix=/usr/local/nginx/ --user=www --group=www  --with-http_ssl_module --with
-select_module  --with-poll_module  --without-mail_pop3_module  --without-mail_imap_module  --without-mail_smtp_module


重新编译nginx。

./configure --prefix=/usr/local/nginx  --user=www --group=www  --with-http_ssl_module --with
-select_module  --with-poll_module  --without-mail_pop3_module  --without-mail_imap_module  --without-mail_smtp_module

你再试试,我把prefix的nginx后的斜线去掉了

【热门文章】
【热门文章】