summaryrefslogtreecommitdiffstats
path: root/files/lists-dev/hyperkitty.apache.conf
diff options
context:
space:
mode:
authorSeth Vidal <skvidal@fedoraproject.org>2013-05-17 15:55:25 +0000
committerSeth Vidal <skvidal@fedoraproject.org>2013-05-17 15:55:25 +0000
commit5372f26f07d30cd9b3ee949e08342f437b86b130 (patch)
tree92c66de3db0884486136fe13753487ea4c1083db /files/lists-dev/hyperkitty.apache.conf
parentc07f5a9e24de5c0ab423f68ef3afedccbe37e61f (diff)
downloadansible-5372f26f07d30cd9b3ee949e08342f437b86b130.tar.gz
ansible-5372f26f07d30cd9b3ee949e08342f437b86b130.tar.xz
ansible-5372f26f07d30cd9b3ee949e08342f437b86b130.zip
merge abompards lists-dev playbook into main repo
mark some fixmes move some files/inventory items around
Diffstat (limited to 'files/lists-dev/hyperkitty.apache.conf')
-rw-r--r--files/lists-dev/hyperkitty.apache.conf27
1 files changed, 27 insertions, 0 deletions
diff --git a/files/lists-dev/hyperkitty.apache.conf b/files/lists-dev/hyperkitty.apache.conf
new file mode 100644
index 000000000..5773918fb
--- /dev/null
+++ b/files/lists-dev/hyperkitty.apache.conf
@@ -0,0 +1,27 @@
+#Alias /robots.txt /etc/hyperkitty/sites/default/static/robots.txt
+#Alias /favicon.ico /etc/hyperkitty/sites/default/static/favicon.ico
+Alias /hyperkitty/static /var/lib/hyperkitty/sites/default/static
+
+#ErrorLog /var/log/httpd/hyperkitty_error.log
+#CustomLog /var/log/httpd/hyperkitty_access.log combined
+
+WSGIScriptAlias /hyperkitty /etc/hyperkitty/sites/default/wsgi.py
+WSGIDaemonProcess hyperkitty threads=25 python-path=/etc/hyperkitty/sites/default
+# If using VirtualEnv
+#WSGIDaemonProcess hyperkitty threads=25 python-path=/etc/hyperkitty/sites/default:/path/to/your/venv/lib/python2.X/site-packages
+WSGISocketPrefix run/wsgi
+
+<Directory "/etc/hyperkitty/sites/default">
+ <Files wsgi.py>
+ Order deny,allow
+ Allow from all
+ Require all granted
+ </Files>
+ WSGIProcessGroup hyperkitty
+</Directory>
+
+<Directory "/var/lib/hyperkitty/sites/default/static">
+ Order deny,allow
+ Allow from all
+ Require all granted
+</Directory>