The post nginx: [warn] the "log_format" directive may be used only on "http" level 解決方法 first appeared on VPS偵探.
]]>一直不提倡使用最新的版本,不過也真因為有部分愛折騰的才會不斷的發現問題。目前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的警告。
將/usr/local/nginx/conf/nginx.conf 里server段里的下面代碼移出放到該server段的前面即可。(...)
點擊閱讀nginx: [warn] the "log_format" directive may be used only on "http" level 解決方法全文
? VPS偵探 2012. |
文章鏈接 |
6 comments
標簽: LNMP, log_format, Nginx
美國VPS推薦 | 提供美國及海外VPS/域名代購代付,LNMP環境安裝配置、問題排查等服務。 QQ:503228080
The post nginx: [warn] the "log_format" directive may be used only on "http" level 解決方法 first appeared on VPS偵探.
]]>