|
|
@ -31,6 +31,17 @@ http { |
|
|
|
'$server_name $http_x_forwarded_for - $lmremote_user [$time_local] "$request" ' |
|
|
|
'$server_name $http_x_forwarded_for - $lmremote_user [$time_local] "$request" ' |
|
|
|
'$status $body_bytes_sent "$http_referer" ' |
|
|
|
'$status $body_bytes_sent "$http_referer" ' |
|
|
|
'"$http_user_agent" scheme="$scheme"'; |
|
|
|
'"$http_user_agent" scheme="$scheme"'; |
|
|
|
|
|
|
|
{% else %} |
|
|
|
|
|
|
|
# LL::NG not installed, just make those log formats aliases of the non llng formats |
|
|
|
|
|
|
|
log_format combined_virtual_llng |
|
|
|
|
|
|
|
'$server_name $remote_addr - $remote_user [$time_local] "$request" ' |
|
|
|
|
|
|
|
'$status $body_bytes_sent "$http_referer" ' |
|
|
|
|
|
|
|
'"$http_user_agent" scheme="$scheme"'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
log_format combined_virtual_backend_llng |
|
|
|
|
|
|
|
'$server_name $http_x_forwarded_for - $remote_user [$time_local] "$request" ' |
|
|
|
|
|
|
|
'$status $body_bytes_sent "$http_referer" ' |
|
|
|
|
|
|
|
'"$http_user_agent" scheme="$scheme"'; |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
access_log /var/log/nginx/access.log {{ nginx_log_format }}; |
|
|
|
access_log /var/log/nginx/access.log {{ nginx_log_format }}; |
|
|
|