首页 文章

usr / local路径下没有nginx,那么默认的nginx服务器路径在哪里?

提问于
浏览
0

Nginx目录在/ usr / local下是disxist .

我的服务器的操作系统是centos 7.2 64位 .

error_log /var/log/nginx/error.log警告; pid /var/run/nginx.pid; events {worker_connections 1024; } http {include /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 回答

  • 0

    我是由mysself发现的 .

    / usr / share / nginx / html

相关问题