diff --git a/dicos/70_lemonldap_ng.xml b/dicos/70_lemonldap_ng.xml index b3c72fc..f243ffb 100644 --- a/dicos/70_lemonldap_ng.xml +++ b/dicos/70_lemonldap_ng.xml @@ -9,6 +9,7 @@ + diff --git a/tmpl/nginx-lmlog.conf b/tmpl/nginx-lmlog.conf index c41f252..3db97b1 100644 --- a/tmpl/nginx-lmlog.conf +++ b/tmpl/nginx-lmlog.conf @@ -1,3 +1,3 @@ -log_format lm_combined '$remote_addr - $lmremote_user [$time_local] ' +log_format lm_app '$remote_addr - $upstream_http_lm_remote_user [$time_local] ' '"$request" $status $body_bytes_sent ' - '"$http_referer" "$http_user_agent"'; + '"$http_referer" "$http_user_agent" $upstream_http_lm_remote_custom';