improve log format

This commit is contained in:
Sam 2015-06-16 17:41:21 +10:00
parent 8feca88cf7
commit dc563b4484

View file

@ -25,7 +25,7 @@ map $http_x_forwarded_proto $thescheme {
https https;
}
log_format log_discourse '[$time_local] $remote_addr "$request" "$http_user_agent" "$sent_http_x_discourse_route" $upstream_response_time $request_time';
log_format log_discourse '[$time_local] $remote_addr "$request" "$http_user_agent" "$sent_http_x_discourse_route" $status $bytes_sent "$http_referer" $upstream_response_time $request_time';
server {