This commit is contained in:
Mateusz Gruszczyński committed 2026-11-20 17:18:02 +01:00
1 parent 5e43752041
commit 15425fb803
34 files changed
+1423 -89

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
// Defensive exclusions for an existing HTTP reverse-proxy vhost.
// Does not opt in to caching for other routes.
sub vcl_recv {
if (req.method != "GET" && req.method != "HEAD") {
return(pass);
}
if (req.url ~ "^/(admin|api/private|account|auth|login|logout|checkout|cart|dashboard|webhook)(/|[?]|$)") {
return(pass);
}
if (req.http.Authorization) {
return(pass);
}
if (req.http.Cookie) {
return(pass);
}
}