文章详情页
nginx编译安装
浏览:64日期:2024-06-21 17:16:44
问题描述
第一次编译安装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后的斜线去掉了
相关文章:
1. ueditor上传服务器提示后端配置项没有正常加载,求助!!!!!2. 配置文件 - nginx多站点配置,无法通过域名访问,使用ip访问会跳转到其中一个站点3. css - transform: translateY(-50%)在360浏览器极速模式下使得文字变模糊了4. css - .clearfix:after中为什么设置display: table5. angular.js - 怎样在使用ng-repeat属性的标签里面监听单个事件,使其能够单个改变CSS。6. 请教: 关于 python 反斜杠转义的疑问7. python - 关于matplotlib的x轴显示的问题8. javascript - vue生成一维码?求助!!!!!急9. mysql优化 - mysql慢查询copying to tmp table10. nginx英文文档的WebSocket proxying部分没看太明白,麻烦推荐一点中文文章
排行榜
