1
cf_rule/cache/default.clj

33 lines
1.4 KiB
Clojure
Raw Permalink Normal View History

2024-08-22 21:09:43 +08:00
( http.host eq "pic.trle5.xyz" and not ( http.request.uri.path contains "/o/r/" or http.request.uri.path contains "/assets/")) or
( http.host eq "lume.trle5.xyz" and ( http.request.uri.path contains "/search/" ) ) or
( http.host eq "memos.trle5.xyz" and ( http.request.uri.path contains "/api/" ) ) or
( http.host eq "alist.trle5.xyz" and ( http.request.uri.path contains "/api/" ) ) or
( http.host eq "nxiv.trle5.xyz" and ( http.request.uri.path contains "/api/" ) ) or
( http.host eq "gitea.trle5.xyz" and
not (
http.request.uri.path contains "/assets/" or
http.request.uri.path contains "/avatars/" or
http.request.uri.path contains "/repo-avatars/" or
(
starts_with(http.request.uri.path, "/mirrors") and (
http.request.uri.path contains "abeezee" or
http.request.uri.path contains "urara" or
http.request.uri.path contains "urara-docs" or
http.request.uri.path contains "canokey-nrf52"
)
)
or
(
starts_with(http.request.uri.path, "/trle5/") and (
http.request.uri.path contains "cf_rule" or
http.request.uri.path contains ".profile" or
http.request.uri.path contains "templates" or
http.request.uri.path contains "flutter_clock_example" or
http.request.uri.path contains "l4d2_tools" or
http.request.uri.path contains "hexo_s" or
http.request.uri.path contains "lyric"
)
)
)
)