web01: Filter out Slack user agents
All checks were successful
checks / test (pull_request) Successful in 32s

This commit is contained in:
Luis Hebendanz 2024-04-17 13:14:52 +02:00
parent fb780887e3
commit f45621463d

View File

@ -9,7 +9,8 @@ let
# List of browsers and their categories # List of browsers and their categories
# e.g., WORD delimited by tab(s) \t TYPE # e.g., WORD delimited by tab(s) \t TYPE
# TYPE can be any type and it's not limited to the ones below. # TYPE can be any type and it's not limited to the ones below.
matrix-org Matrix-Preview matrix Matrix-Preview
slack Slack
github-actions-checkout GitHubActions github-actions-checkout GitHubActions
git Git git Git
connect-go Go connect-go Go
@ -42,7 +43,9 @@ in
# https://raw.githubusercontent.com/allinurl/goaccess/master/config/browsers.list # https://raw.githubusercontent.com/allinurl/goaccess/master/config/browsers.list
systemd.services.goaccess = { systemd.services.goaccess = {
description = "GoAccess server monitoring"; description = "GoAccess server monitoring";
preStart = ''
rm -f ${pub_goaccess}/index.html
'';
serviceConfig = { serviceConfig = {
User = "goaccess"; User = "goaccess";
Group = "nginx"; Group = "nginx";