summaryrefslogtreecommitdiffstats
path: root/roles/github2fedmsg/templates/github2fedmsg.conf
diff options
context:
space:
mode:
authorRalph Bean <rbean@redhat.com>2015-06-16 20:57:25 +0000
committerRalph Bean <rbean@redhat.com>2015-06-16 20:57:31 +0000
commit19bf20ac422e6291cd358f66249c902331b6749a (patch)
treef1ff32e61c2160628ad7c3fee669a532f3e25edf /roles/github2fedmsg/templates/github2fedmsg.conf
parented51c161f376038b84c014f6212a1fd1a38cee56 (diff)
downloadansible-19bf20ac422e6291cd358f66249c902331b6749a.tar.gz
ansible-19bf20ac422e6291cd358f66249c902331b6749a.tar.xz
ansible-19bf20ac422e6291cd358f66249c902331b6749a.zip
Add github2fedmsg to the dynamic fedmsg endpoints stuff.
Diffstat (limited to 'roles/github2fedmsg/templates/github2fedmsg.conf')
-rw-r--r--roles/github2fedmsg/templates/github2fedmsg.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/roles/github2fedmsg/templates/github2fedmsg.conf b/roles/github2fedmsg/templates/github2fedmsg.conf
new file mode 100644
index 000000000..912418c68
--- /dev/null
+++ b/roles/github2fedmsg/templates/github2fedmsg.conf
@@ -0,0 +1,16 @@
+Alias /static /usr/lib/python2.7/site-packages/github2fedmsg/static
+Alias /pngs /usr/share/badges/pngs
+
+WSGIDaemonProcess github2fedmsg user=apache group=apache maximum-requests=1000 display-name=github2fedmsg processes={{wsgi_procs}} threads={{wsgi_threads}}
+WSGISocketPrefix run/wsgi
+WSGIRestrictStdout On
+WSGIRestrictSignal Off
+WSGIPythonOptimize 1
+
+WSGIScriptAlias / /usr/share/github2fedmsg/github2fedmsg.wsgi
+
+<Location />
+ WSGIProcessGroup github2fedmsg
+ Require all granted
+</Location>
+