Alexandros Kosiaris has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/403183 )
Change subject: servermon: Remove /media and use /staticfiles
......................................................................
servermon: Remove /media and use /staticfiles
The /media URL for media has been deprecated and removed since servermon
0.7.0. Remove it. Use the generated staticfiles directory instead of the
static/ directory now that scap has support for it
Change-Id: Id4539cf878b0ad3f83caddbe88243f3422c393ce
---
M modules/role/templates/servermon/servermon.wikimedia.org.erb
1 file changed, 1 insertion(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/83/403183/1
diff --git a/modules/role/templates/servermon/servermon.wikimedia.org.erb
b/modules/role/templates/servermon/servermon.wikimedia.org.erb
index f5084da..4376f21 100644
--- a/modules/role/templates/servermon/servermon.wikimedia.org.erb
+++ b/modules/role/templates/servermon/servermon.wikimedia.org.erb
@@ -26,10 +26,7 @@
# Require ldap-group cn=nda,ou=groups,dc=wikimedia,dc=org
</Location>
-
- Alias /media/ /usr/lib/python2.7/dist-packages/django/contrib/admin/media/
- ProxyPass /media/ !
- Alias /static/
/srv/deployment/servermon/servermon/servermon/servermon/static/
+ Alias /static/
/srv/deployment/servermon/servermon/servermon/servermon/staticfiles/
ProxyPass /static/ !
ProxyPass / http://127.0.0.1:8090/
--
To view, visit https://gerrit.wikimedia.org/r/403183
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id4539cf878b0ad3f83caddbe88243f3422c393ce
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits