您的位置:首页技术文章
文章详情页

nginx编译安装

【字号: 日期:2024-06-21 17:16:44浏览:78作者:猪猪

问题描述

第一次编译安装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编译安装

问题解答

回答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后的斜线去掉了

相关文章: