nginx: log subrequests

This commit is contained in:
Lukáš Kucharczyk 2021-06-21 06:14:19 +00:00
parent d72ee10d04
commit 1df2e68180
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,8 @@ events {
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" '