feat: Adjust backend timeouts, add /cms to cache bypass, and include X-Backend-IP in responses.
Some checks failed
Build & Deploy KLZ Cables / 🔍 Prepare Environment (push) Successful in 9s
Build & Deploy KLZ Cables / 🧪 Quality Assurance (push) Successful in 1m33s
Build & Deploy KLZ Cables / 🏗️ Build Gatekeeper (push) Successful in 20s
Build & Deploy KLZ Cables / 🏗️ Build App (push) Successful in 4m29s
Build & Deploy KLZ Cables / 🚀 Deploy (push) Successful in 45s
Build & Deploy KLZ Cables / ⚡ PageSpeed (push) Failing after 2m7s
Build & Deploy KLZ Cables / 🔔 Notifications (push) Successful in 2s
Some checks failed
Build & Deploy KLZ Cables / 🔍 Prepare Environment (push) Successful in 9s
Build & Deploy KLZ Cables / 🧪 Quality Assurance (push) Successful in 1m33s
Build & Deploy KLZ Cables / 🏗️ Build Gatekeeper (push) Successful in 20s
Build & Deploy KLZ Cables / 🏗️ Build App (push) Successful in 4m29s
Build & Deploy KLZ Cables / 🚀 Deploy (push) Successful in 45s
Build & Deploy KLZ Cables / ⚡ PageSpeed (push) Failing after 2m7s
Build & Deploy KLZ Cables / 🔔 Notifications (push) Successful in 2s
This commit is contained in:
@@ -5,7 +5,9 @@ import std;
|
||||
backend default {
|
||||
.host = "klz-app";
|
||||
.port = "3000";
|
||||
.first_byte_timeout = 60s;
|
||||
.connect_timeout = 5s;
|
||||
.first_byte_timeout = 90s;
|
||||
.between_bytes_timeout = 5s;
|
||||
}
|
||||
|
||||
acl purge {
|
||||
@@ -27,8 +29,8 @@ sub vcl_recv {
|
||||
return (pass);
|
||||
}
|
||||
|
||||
# Bypass cache for Gatekeeper and Directus (already handled by Traefik, but safe to be explicit)
|
||||
if (req.url ~ "^/gatekeeper" || req.url ~ "^/directus" || req.url ~ "^/admin") {
|
||||
# Bypass cache for Gatekeeper, Directus and CMS proxy
|
||||
if (req.url ~ "^/gatekeeper" || req.url ~ "^/directus" || req.url ~ "^/admin" || req.url ~ "^/cms") {
|
||||
return (pass);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user