This commit is contained in:
Andreas Knuth 2025-09-11 15:15:59 -05:00
parent b8dd30987e
commit b210e49ad4
1 changed files with 2 additions and 2 deletions

View File

@ -106,8 +106,8 @@ iitwelders.bayarea-cc.com {
route { route {
encode zstd gzip encode zstd gzip
# Korrigierter CEL-Ausdruck mit re2() # Korrigierter Matcher für Caddy 2.9.1 - verwendet header_regexp
@text `header.Content-Type.re2('text/.*') || header.Content-Type.re2('application/javascript') || header.Content-Type.re2('application/json') || header.Content-Type.re2('application/xml')` @text header_regexp Content-Type (?i)(text/.*|application/javascript|application/json|application/xml)
replace @text { replace @text {
re (https?://)iitwelders\.com https://iitwelders.bayarea-cc.com re (https?://)iitwelders\.com https://iitwelders.bayarea-cc.com