also log user agent in NGINX
This commit is contained in:
parent
96d3d6fb63
commit
4007484c54
|
@ -25,7 +25,7 @@ map $http_x_forwarded_proto $thescheme {
|
|||
https https;
|
||||
}
|
||||
|
||||
log_format log_discourse '[$time_local] $remote_addr $request $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" $upstream_response_time $request_time';
|
||||
|
||||
server {
|
||||
|
||||
|
|
Loading…
Reference in New Issue