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