文章详情页
nginx编译安装
浏览:92日期: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. javascript - node.js promise没用2. node.js - nodejs如何发送请求excel文件并下载3. docker-machine添加一个已有的docker主机问题4. golang - 用IDE看docker源码时的小问题5. docker - 各位电脑上有多少个容器啊?容器一多,自己都搞混了,咋办呢?6. angular.js - 为什么给 Angular 指令绑定事件无法生效7. 为什么我ping不通我的docker容器呢???8. java - 我在用Struts2上传文件时,报以下错误怎么回事?9. android 如何实现如图中的键盘上的公式及edittext的内容展示呢10. MySQL如何实现表中再嵌套一个表?
排行榜
