[FEATURE] Ignore UptimeRobot and Pingdom requests for statistics

This commit is contained in:
Kay Strobach 2022-08-03 09:51:47 +02:00 committed by Daniel Siepmann
parent e1f3613bb2
commit f99e1a47d0
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -64,6 +64,7 @@ services:
and not (request.getHeader("User-Agent")[0] matches "/Wget|curl|Go-http-client/")
and not (request.getHeader("User-Agent")[0] matches "/Googlebot|Bingbot|bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Sogou|Exabot|NextCloud-News|Feedly|XING FeedReader|CCBot|SemrushBot|SEOkicks|Twitterbot|Seekport Crawler|SemanticScholarBot|ia_archiver|PaperLiBot|TrendsmapResolver|AhrefsBot|Nuzzel/")
and not (request.getHeader("User-Agent")[0] matches "/mattermost|Slackbot|WhatsApp/")
and not (request.getHeader("User-Agent")[0] matches "/UptimeRobot|Pingdom/")
DanielSiepmann\Tracking\Middleware\Recordview:
public: true