1.查看服务器中存在的nginx.conf文件
命令:locate nginx.conf
截图:
2.查看服务器中实际调用的nginx.conf配置文件
命令: ps aux |grep nginx
3.查看nginx.conf配置文件路径及是否调用有效
命令:
pwd
nginx -t