以下の内容はhttps://chulip.org/entry/2014/11/28/021038より取得しました。


Nginx rewriteのログを表示する

どうもNginxはデフォルトだとrewrite関連のログを吐いてくれないみたいなので調べた。
rewrite_logをonにすれば表示することができるみたい。デフォルトではoff

Syntax: 	rewrite_log on | off;
Default: 	rewrite_log off;
Context: 	http, server, location, if
Module ngx_http_rewrite_module

その下にerror_logをnoticeレベルに設定すると結果が見れるよと書いてあるのでerror_logのログレベルをnoticeにする。

Enables or disables logging of ngx_http_rewrite_module module directives processing results into the error_log at the notice level.

Module ngx_http_rewrite_module
error_log file notice;



以上の内容はhttps://chulip.org/entry/2014/11/28/021038より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14