Add portal domain to log format

This commit is contained in:
PJ 2020-10-09 16:35:34 +02:00
parent e64726e11d
commit efb76c43a2
No known key found for this signature in database
GPG Key ID: F345964979FA8971
1 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,8 @@ http {
'$status $body_bytes_sent "$http_referer" ' '$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" $upstream_response_time ' '"$http_user_agent" $upstream_response_time '
'$upstream_bytes_sent $upstream_bytes_received ' '$upstream_bytes_sent $upstream_bytes_received '
'"$upstream_http_content_type" "$upstream_cache_status"'; '"$upstream_http_content_type" "$upstream_cache_status" '
'"portal_domain"';
access_log logs/access.log main; access_log logs/access.log main;