BryanDavis has uploaded a new change for review.
https://gerrit.wikimedia.org/r/295967
Change subject: striker: add some apache aliases
......................................................................
striker: add some apache aliases
Change-Id: If59f8ae8f73b039d3d36b897e2bc9e89404e62ca
---
M puppet/modules/role/templates/striker/apache.conf.erb
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/vagrant
refs/changes/67/295967/1
diff --git a/puppet/modules/role/templates/striker/apache.conf.erb
b/puppet/modules/role/templates/striker/apache.conf.erb
index 54659a5..5747540 100644
--- a/puppet/modules/role/templates/striker/apache.conf.erb
+++ b/puppet/modules/role/templates/striker/apache.conf.erb
@@ -1,7 +1,9 @@
ServerName <%= @vhost_name %>
DocumentRoot <%= @app_dir %>
+# Enable wsgi automatic reload magic
SetEnv DJANGO_DEBUG True
+
WSGIDaemonProcess striker python-path=<%= @app_dir %>:<%= @venv
%>/lib/python2.7/site-packages home=<%= @app_dir %> display-name=%{GROUP}
threads=8
WSGIProcessGroup striker
WSGIScriptAlias / <%= @deploy_dir %>/striker/striker/wsgi.py
process-group=striker
@@ -18,6 +20,8 @@
</Directory>
Alias /static/ <%= @app_dir %>/staticfiles/
+Alias /favicon.ico <%= @app_dir %>/staticfiles/img/favicon.ico
+Alias /robots.txt <%= @app_dir %>/staticfiles/robots.txt
<Directory <%= @app_dir %>/staticfiles>
Options -Indexes
--
To view, visit https://gerrit.wikimedia.org/r/295967
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If59f8ae8f73b039d3d36b897e2bc9e89404e62ca
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits