BBlack has submitted this change and it was merged.
Change subject: Allow maps access from localhost
......................................................................
Allow maps access from localhost
Otherwise, no development work is possible
Change-Id: I4bce8c4a1258b43f77d853df141993044c4fee1a
---
M templates/varnish/maps-frontend.inc.vcl.erb
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
BBlack: Looks good to me, approved
jenkins-bot: Verified
diff --git a/templates/varnish/maps-frontend.inc.vcl.erb
b/templates/varnish/maps-frontend.inc.vcl.erb
index da36020..8a7b63d 100644
--- a/templates/varnish/maps-frontend.inc.vcl.erb
+++ b/templates/varnish/maps-frontend.inc.vcl.erb
@@ -8,6 +8,7 @@
&& req.url != "/"
&& req.http.referer !~
"(?i)^https?://[-a-zA-Z0-9.]+\.(mediawiki|wikivoyage|wmflabs)\.org/"
&& req.http.referer !~
"(?i)^https?://(maps|phabricator|wikitech)\.wikimedia\.org/"
+ && req.http.referer !~
"(?i)^https?://(localhost|127\.0\.0\.1)(:\d+)?/"
) {
error 403 "Access Denied";
}
--
To view, visit https://gerrit.wikimedia.org/r/235386
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4bce8c4a1258b43f77d853df141993044c4fee1a
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: MaxSem <[email protected]>
Gerrit-Reviewer: BBlack <[email protected]>
Gerrit-Reviewer: MaxSem <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits