Ori.livneh has uploaded a new change for review.

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


Change subject: Configure Varnish not to cache scholarship app reqs
......................................................................

Configure Varnish not to cache scholarship app reqs

The cache should vary on cookie, and all requests are cookied, so caching in
Varnish won't help.

Change-Id: Ie5c2e260ae2940ca2bdded5e0599a8cb380e30bb
---
M templates/varnish/misc.inc.vcl.erb
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/44/102744/1

diff --git a/templates/varnish/misc.inc.vcl.erb 
b/templates/varnish/misc.inc.vcl.erb
index 9aa9a1f..c107c70 100644
--- a/templates/varnish/misc.inc.vcl.erb
+++ b/templates/varnish/misc.inc.vcl.erb
@@ -12,6 +12,7 @@
                set req.backend = tungsten;
        } elsif (req.http.Host == "scholarships.wikimedia.org") {
                set req.backend = zirconium;
+                return (pass);
        } else {
                error 404 "Domain not served here";
        }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie5c2e260ae2940ca2bdded5e0599a8cb380e30bb
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ori.livneh <[email protected]>

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

Reply via email to