Mark Bergsma has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/71349


Change subject: Add a custom error page to the bits cluster
......................................................................

Add a custom error page to the bits cluster

Change-Id: Ia1525fb0a08a39dd246340d3739fd7f0f27ac986
---
M templates/varnish/bits.inc.vcl.erb
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/49/71349/1

diff --git a/templates/varnish/bits.inc.vcl.erb 
b/templates/varnish/bits.inc.vcl.erb
index f0efaf9..161fcc9 100644
--- a/templates/varnish/bits.inc.vcl.erb
+++ b/templates/varnish/bits.inc.vcl.erb
@@ -1,5 +1,6 @@
 # Varnish VCL include file for bits
 
+include "errorpage.inc.vcl";
 include "device-detection.inc.vcl";
 
 sub vcl_recv {
@@ -86,4 +87,7 @@
                set obj.status = 301;
                return(deliver);
        }
+
+       call errorpage;
+       return(deliver);
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/71349
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia1525fb0a08a39dd246340d3739fd7f0f27ac986
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Mark Bergsma <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to