usr/local路径下没有nginx,那么默认的nginx服务器路径在哪里呢?
Posted
技术标签:
【中文标题】usr/local路径下没有nginx,那么默认的nginx服务器路径在哪里呢?【英文标题】:There is no nginx under usr/local path, so where is the default nginx server path? 【发布时间】:2017-04-18 05:08:13 【问题描述】:/usr/local 下的 nginx 目录不存在。
我的服务器操作系统是centos 7.2 64位。
error_log /var/log/nginx/error.log 警告; pid /var/run/nginx.pid;
事件 worker_connections 1024;
http 包括/etc/nginx/mime.types; default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log main; sendfile on; #tcp_nopush on; keepalive_timeout 65; #gzip on; include /etc/nginx/conf.d/*.conf;
【问题讨论】:
【参考方案1】:我自己找到的。
/usr/share/nginx/html
【讨论】:
以上是关于usr/local路径下没有nginx,那么默认的nginx服务器路径在哪里呢?的主要内容,如果未能解决你的问题,请参考以下文章