v0.39.0
This commit is contained in:
1 parent
5e43752041
commit
15425fb803
34 files changed
+1423
-89
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user