nginx: [warn] the “log_format” directive may be used only on “http” level in

    Read

版本:nginx/1.6.2
报错:


解决方法:日志配置信息写在server前面即可。
SourceByrd's Weblog-https://note.t4x.org/error/nginx-warn-log_format-directive/
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!
Byrd
  • by Published on January 1, 2015
  • 原文链接:https://note.t4x.org/error/nginx-warn-log_format-directive/
匿名

Comment

Anonymous

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: