nginx新版本配置文件警告 the "log_format" directive may be used only on "http"

使用用新版本nginx的人不会对这个警告陌生吧

[root@kinggoo.com vhost]# /opt/webserver/nginx/sbin/nginx -t
nginx: [warn] the "log_format" directive may be used only on "http" level in /opt/path/nginx/conf/vVVhost/abc.kinggoo.com:38
nginx: the configuration file /opt/path/nginx/conf/nginx[……]

继续阅读

第 1 页,共 1 页1