文章详情页
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
问题解答
回答1:重新编译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后的斜线去掉了
相关文章:
排行榜