We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eca12e4 commit 719f3cfCopy full SHA for 719f3cf
etc/vcl_snippets/deliver.vcl
@@ -40,6 +40,9 @@
40
# Add an easy way to see whether custom Fastly VCL has been uploaded
41
if ( req.http.Fastly-Debug ) {
42
set resp.http.Fastly-Magento-VCL-Uploaded = "1.2.206";
43
+ if (table.lookup(magentomodule_config, "allow_super_users_during_maint", "0") == "1") {
44
+ set resp.http.Fastly-Magento-Maintenance-Mode = "on";
45
+ }
46
} else {
47
remove resp.http.Fastly-Module-Enabled;
48
remove resp.http.fastly-page-cacheable;
0 commit comments