linux 命令行下查看nginx.conf位置

最后更新于:2016-01-28 00:01:00

输入命令

nginx -t

 

输出结果

[root@MyServer ~]# nginx -t

nginx: the configuration file /etc/nginx/nginx.conf syntax is ok

nginx: configuration file /etc/nginx/nginx.conf test is successful

 

发表回复

您的电子邮箱地址不会被公开。