mirror of
https://github.com/discourse/discourse.git
synced 2025-04-19 10:19:05 +08:00
improve log format
This commit is contained in:
parent
8feca88cf7
commit
dc563b4484
@ -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 {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user