diff --git a/one-time-stuff/nginx/logging.conf b/one-time-stuff/nginx/logging.conf index b8a2dba..9cb1063 100644 --- a/one-time-stuff/nginx/logging.conf +++ b/one-time-stuff/nginx/logging.conf @@ -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'; +