extra log formatting, for adding just host to the end.

This commit is contained in:
2023-10-24 15:04:32 +00:00
parent 38666f8835
commit bb1a984a55
+3
View File
@@ -3,3 +3,6 @@
# New SSL Log Format, tab separated (useful for "cut" command), also includes host ~ ABS
log_format tabbed_detailed '$remote_addr $remote_user [$time_local] ($ssl_protocol/$ssl_cipher) $host "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"';
# regular format with host appended at the end
log_format with_host '$remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" $host';