Skip to content

Commit 0ff2865

Browse files
author
Vladimir Vuksan
committed
In 2.4 path is /pub/errors
1 parent 21d44d4 commit 0ff2865

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

etc/vcl_snippets/recv.vcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
if (table.lookup(magentomodule_config, "allow_super_users_during_maint", "0") == "1" &&
4242
!req.http.Fastly-Client-Ip ~ maint_allowlist &&
4343
!req.url ~ "^/(index\.php/)?####ADMIN_PATH####/" &&
44-
!req.url ~ "^/pub/(static|error)/") {
44+
!req.url ~ "^/pub/(static|errors?)/") {
4545

4646
# If we end up here after a restart and there is a ResponseObject it means we got here after error
4747
# page VCL restart. We shouldn't touch it. Otherwise return a plain 503 error page

0 commit comments

Comments
 (0)