标签类目:log_format

nginx: [warn] the “log_format” directive may be used only on “http” level 解决方法

2012-02-19 | 浏览人数: 4,375次 | 分类:VPS管理维护 | 查看评论 发表评论

来自军哥博客的LNMP的最新解决方法,现在转载如下:

一直不提倡使用最新的版本,不过也真因为有部分爱折腾的才会不断的发现问题。目前Nginx的稳定版本是1.0.12,Nginx升级到1.1.1*版本后,会出现nginx: [warn] the “log_format” directive may be used only on “http” level in /usr/local/nginx/conf/nginx.conf:84的警告。