mirror of
https://github.com/praktimarc/kst4contest.git
synced 2026-09-12 04:05:34 +02:00
16 lines
737 B
Plaintext
16 lines
737 B
Plaintext
# Include in the Nginx http context. $uri is the normalized path and excludes
|
|
# the query string. The format intentionally omits referrer and remote user.
|
|
log_format hamradioonline_analytics
|
|
'$server_name\t$remote_addr\t$time_iso8601\t$request_method\t$uri\t'
|
|
'$server_protocol\t$status\t$body_bytes_sent\t"$http_user_agent"';
|
|
|
|
# Include the maps below in the Nginx http context as well.
|
|
include /etc/nginx/snippets/hamradioonline-analytics-filters.conf;
|
|
|
|
# Add this extra log to each registered project server block. Keep the
|
|
# existing operational access_log directive; do not replace it implicitly.
|
|
#
|
|
# access_log /var/log/nginx/kst4contest-analytics.log
|
|
# hamradioonline_analytics if=$hamradioonline_analytics_loggable;
|
|
|