Yurik has uploaded a new change for review. https://gerrit.wikimedia.org/r/231978
Change subject: Fixed RE for maps referrer ...................................................................... Fixed RE for maps referrer Change-Id: Ia232be3077a51fcf437131fcd635841370fcbaeb --- M templates/varnish/maps-frontend.inc.vcl.erb 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/78/231978/1 diff --git a/templates/varnish/maps-frontend.inc.vcl.erb b/templates/varnish/maps-frontend.inc.vcl.erb index fc390cb..4b709ea 100644 --- a/templates/varnish/maps-frontend.inc.vcl.erb +++ b/templates/varnish/maps-frontend.inc.vcl.erb @@ -6,7 +6,7 @@ call vcl_recv_purge; if (req.http.referer && req.http.referer !~ "(?i)^https://maps\.wikimedia\.org/" - && req.http.referer !~ "(?i)^https?://[-a-zA-Z0-9.]\.beta\.wmflabs\.org/" + && req.http.referer !~ "(?i)^https?://[-a-zA-Z0-9.]+\.beta\.wmflabs\.org/" ) { error 403 "Access Denied"; } -- To view, visit https://gerrit.wikimedia.org/r/231978 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia232be3077a51fcf437131fcd635841370fcbaeb Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Yurik <yu...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits