This commit is contained in:
Andreas Knuth 2025-09-11 15:12:43 -05:00
parent bc038b0a70
commit b8dd30987e
1 changed files with 3 additions and 4 deletions

View File

@ -106,10 +106,9 @@ iitwelders.bayarea-cc.com {
route {
encode zstd gzip
# Korrigierter Matcher für Textinhalte (Wählen Sie eine der obigen Optionen)
# Beispiel mit expression-Matcher:
@text `header.Content-Type =~ "text/.*" || header.Content-Type =~ "application/javascript" || header.Content-Type =~ "application/json" || header.Content-Type =~ "application/xml"`
# Korrigierter CEL-Ausdruck mit re2()
@text `header.Content-Type.re2('text/.*') || header.Content-Type.re2('application/javascript') || header.Content-Type.re2('application/json') || header.Content-Type.re2('application/xml')`
replace @text {
re (https?://)iitwelders\.com https://iitwelders.bayarea-cc.com
re (//)iitwelders\.com //iitwelders.bayarea-cc.com