Faidon Liambotis has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/330140 )
Change subject: apt.w.o: redirect / to wikitech article
......................................................................
apt.w.o: redirect / to wikitech article
Change-Id: I51cdbb130760281c652cd85c41206ea2f922b7b1
---
M modules/install_server/templates/apt.wikimedia.org.conf.erb
1 file changed, 8 insertions(+), 0 deletions(-)
Approvals:
Faidon Liambotis: Verified; Looks good to me, approved
diff --git a/modules/install_server/templates/apt.wikimedia.org.conf.erb
b/modules/install_server/templates/apt.wikimedia.org.conf.erb
index f9fef66..74d2d4c 100644
--- a/modules/install_server/templates/apt.wikimedia.org.conf.erb
+++ b/modules/install_server/templates/apt.wikimedia.org.conf.erb
@@ -7,6 +7,10 @@
include /etc/acme/challenge-nginx.conf;
+ location = / {
+ return 302 https://wikitech.wikimedia.org/wiki/APT_repository;
+ }
+
location / {
index index.html index.htm;
autoindex on;
@@ -25,6 +29,10 @@
root /srv;
+ location = / {
+ return 302 https://wikitech.wikimedia.org/wiki/APT_repository;
+ }
+
location / {
index index.html index.htm;
autoindex on;
--
To view, visit https://gerrit.wikimedia.org/r/330140
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I51cdbb130760281c652cd85c41206ea2f922b7b1
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ema <[email protected]>
Gerrit-Reviewer: Faidon Liambotis <[email protected]>
Gerrit-Reviewer: Muehlenhoff <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits