2015-02-25から1日間の記事一覧

nginxで特定のURIだけログに出力しない

nginxでヘルスチェックなど設定している時に特定のURIだけログに出したくない場合の設定 location / { if ( $request_uri ~ /healthcheckurl) { access_log off; } proxy_pass http://unicorn; proxy_set_header Host $http_host; proxy_set_header X-Real-I…