nginx: log subrequests

This commit is contained in:
Lukáš Kucharczyk 2021-06-21 06:14:19 +00:00
parent f07c3128e1
commit d6a6e418b6
No known key found for this signature in database
GPG Key ID: 65524498C0196B64
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,8 @@ http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
log_subrequest on;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';