dfgfdg
This commit is contained in:
parent
22af3a5273
commit
bc038b0a70
|
|
@ -103,28 +103,28 @@ gregknoppcpa.bayarea-cc.com {
|
|||
}
|
||||
|
||||
iitwelders.bayarea-cc.com {
|
||||
# Komprimierung aktivieren
|
||||
route {
|
||||
encode zstd gzip
|
||||
|
||||
# Ersetzung auf alle Text-Inhalte anwenden (erweiterte Content-Types)
|
||||
@text header Content-Type *text/* *javascript* *json* *xml* *application/javascript* *application/xml*
|
||||
# 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"`
|
||||
|
||||
replace @text {
|
||||
re (https?://)iitwelders\.com https://iitwelders.bayarea-cc.com
|
||||
re (//)iitwelders\.com //iitwelders.bayarea-cc.com
|
||||
}
|
||||
|
||||
# Proxy zum Upstream
|
||||
reverse_proxy https://iitwelders.com {
|
||||
header_up Host iitwelders.com
|
||||
header_up Accept-Encoding identity
|
||||
transport http {
|
||||
tls_server_name iitwelders.com
|
||||
}
|
||||
# Location-Header von Redirects ersetzen
|
||||
header_down Location https://iitwelders.bayarea-cc.com{uri}
|
||||
}
|
||||
}
|
||||
|
||||
# Health Check
|
||||
@health path /_health
|
||||
respond @health "ok" 200
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue