Closed YZBoo closed 5 years ago
用最简安装后一直显示Welcome to nginx! 请问最简安装的话 nginx的配置文件在哪里?
/etc/nginx/nginx.conf
可直接 vim /opt/nginx-1.7.8/conf/nginx.conf 来修改配置文件 (upstream 无法使用);
vim /opt/nginx-1.7.8/conf/nginx.conf
或
http { include /etc/nginx/sites-enabled/*; }
用最简安装后一直显示Welcome to nginx! 请问最简安装的话 nginx的配置文件在哪里?