mirror of
https://github.com/praktimarc/kst4contest.git
synced 2026-09-16 22:17:24 +02:00
Changes at the stats analytics
This commit is contained in:
@@ -34,3 +34,10 @@ map "$hamradioonline_analytics_method:$hamradioonline_analytics_path:$hamradioon
|
||||
default 0;
|
||||
"1:1:0" 1;
|
||||
}
|
||||
|
||||
# Count the update-information file separately. This deliberately does not
|
||||
# filter user agents: browsers and bots can fetch the file too.
|
||||
map "$request_method:$uri:$status" $hamradioonline_update_information_loggable {
|
||||
default 0;
|
||||
"GET:/kst4ContestVersionInfo.xml:200" 1;
|
||||
}
|
||||
|
||||
@@ -7,9 +7,10 @@ log_format hamradioonline_analytics
|
||||
# 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
|
||||
# Add these extra logs 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;
|
||||
|
||||
# access_log /var/log/nginx/kst4contest-update-information.log
|
||||
# hamradioonline_analytics if=$hamradioonline_update_information_loggable;
|
||||
|
||||
Reference in New Issue
Block a user