Log source port for NGinx
This commit is contained in:
parent
eabd709ec7
commit
1be92bad62
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
{{ ansible_managed | comment }}
|
{{ ansible_managed | comment }}
|
||||||
|
|
||||||
log_format extended
|
log_format extended
|
||||||
'$remote_addr - $http_x_forwarded_for - $connection '
|
'$remote_addr $remote_port - $http_x_forwarded_for - $connection '
|
||||||
'$remote_user [$time_local] '
|
'$remote_user [$time_local] '
|
||||||
'"$host" "$request" $status $body_bytes_sent '
|
'"$host" "$request" $status $body_bytes_sent '
|
||||||
'"$http_referer" "$http_user_agent"';
|
'"$http_referer" "$http_user_agent"';
|
||||||
|
|
Loading…
Reference in a new issue