文章详情页
nginx编译安装
浏览:46日期: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. angular.js - angularJs ngRoute怎么在路由传递空字符串及用ng-switch取得2. 视频文件不能播放,怎么办?3. mysql - 面试题:如何把login_log表转换成last_login表?4. 老师能帮忙看是什么原因吗?网上找了好多都解决不了5. node.js - win10如何安装并使用babel?6. python - 通过正则提取出来的ip,怎么命名7. python - win7 64位,安装urllib老是报错?8. 请教一条mysql的sql语句写法;9. javascript - js代码转python10. javascript - 我写的href跳转地址不是百度,为什么在有的机型上跳转到百度了,有的机型跳转正确
排行榜
![angular.js - angularJs ngRoute怎么在路由传递空字符串及用ng-switch取得](http://www.haobala.com/attached/image/news/202311/101157b627.png)