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

版本:nginx/1.6.2
报错:


解决方法:日志配置信息写在server前面即可。
文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/error/nginx-warn-log_format-directive/

申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!

 
Byrd
  • by Published onJanuary 1, 2015
  • 原文链接:https://note.t4x.org/error/nginx-warn-log_format-directive/
匿名

Comment

Anonymous

Slide puzzle verification.