]> git.decadent.org.uk Git - dak.git/commitdiff
Run WSGI script from apache
authorMark Hymers <mhy@debian.org>
Fri, 7 Nov 2014 16:34:01 +0000 (16:34 +0000)
committerMark Hymers <mhy@debian.org>
Fri, 7 Nov 2014 16:34:01 +0000 (16:34 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
config/debian/apache.conf-api

index bff5908c16d46c71b32d825ebd70e440ea3a769b..6333fd8c81822f38c81ef5a85e50809925e03ec9 100644 (file)
@@ -9,6 +9,9 @@
     UserDir disabled
   </IfModule>
   DocumentRoot /srv/ftp-master.debian.org/export
+
+  WSGIDaemonProcess api.ftp-master.debian.org user=dak-web group=dak-web processes=1 threads=5
+  WSGIScriptAlias / /srv/ftp-master.debian.org/dak/dakweb/dakweb.wsgi
 </Macro>
 
 Use common-debian-service-https-redirect * api.ftp-master.debian.org