state: add more meta tags onto cached tags, add missing txt and xml resources to well-known snippet

This commit is contained in:
WeebDataHoarder
2025-05-03 05:59:32 +02:00
parent 5bc1ab428b
commit 3d73ee76c4
2 changed files with 35 additions and 5 deletions

View File

@@ -1,8 +1,19 @@
conditions:
is-well-known-asset:
- 'path == "/robots.txt"'
# general txt files or scraper
- 'path == "/robots.txt" || path == "/security.txt"'
# ads txt files
- 'path == "/app-ads.txt" || path == "/ads.txt"'
# generally requested by browsers
- 'path == "/favicon.ico"'
- 'path.startsWith("/.well-known")'
# used by some applications
- 'path == "/crossdomain.xml"'
# well-known paths
- 'path.startsWith("/.well-known/")'
is-git-ua:
- 'userAgent.startsWith("git/") || userAgent.contains("libgit")'