mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
chore(monitoring): include server port in logs
This commit is contained in:
parent
7e82a12236
commit
aff6183ac2
3 changed files with 14 additions and 4 deletions
|
|
@ -38,7 +38,9 @@ in {
|
|||
map $scheme $hsts_header {
|
||||
https "max-age=31536000; includeSubdomains; preload";
|
||||
}
|
||||
log_format combined_host '$remote_addr@$scheme - $remote_user@$host [$time_local]'
|
||||
log_format combined_host '$remote_addr@$scheme'
|
||||
' - $remote_user@$host@$server_name:$server_port'
|
||||
' [$time_local]'
|
||||
' "$request" $status $body_bytes_sent'
|
||||
' "$http_referer" "$http_user_agent"';
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue