Skip to content

Commit e07d328

Browse files
committed
Update varnish 6 vcl config
update
1 parent fadbf69 commit e07d328

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/PageCache/etc/varnish6.vcl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ sub vcl_recv {
6262
return (pass);
6363
}
6464

65-
# Bypass shopping cart and checkout
66-
if (req.url ~ "/checkout") {
65+
# Bypass customer, shopping cart, checkout
66+
if (req.url ~ "/customer" || req.url ~ "/checkout") {
6767
return (pass);
6868
}
6969

7070
# Bypass health check requests
71-
if (req.url ~ "/pub/health_check.php") {
71+
if (req.url ~ "^/(pub/)?(health_check.php)$") {
7272
return (pass);
7373
}
7474

0 commit comments

Comments
 (0)