also log user agent in NGINX

This commit is contained in:
Sam 2015-06-16 16:43:43 +10:00
parent 96d3d6fb63
commit 4007484c54
1 changed files with 1 additions and 1 deletions

View File

@ -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 {