From d3f0a69d1275c1b6b37743516d613a4caa7e4715 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Wed, 20 Jul 2016 21:57:19 +0200 Subject: [PATCH] Fix path to static files and renamed wsgi daemon --- roles/distgit/pagure/templates/0_pagure.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/distgit/pagure/templates/0_pagure.conf b/roles/distgit/pagure/templates/0_pagure.conf index ac525ad790..e87a778d57 100644 --- a/roles/distgit/pagure/templates/0_pagure.conf +++ b/roles/distgit/pagure/templates/0_pagure.conf @@ -3,7 +3,7 @@ WSGISocketPrefix run/wsgi WSGIRestrictSignal Off WSGIPythonOptimize 1 WSGIPassAuthorization On -WSGIDaemonProcess pagure user=pagure group=packager maximum-requests=1000 display-name=pagure processes=4 threads=4 inactivity-timeout=300 +WSGIDaemonProcess pagureproc user=pagure group=packager maximum-requests=1000 display-name=pagure processes=4 threads=4 inactivity-timeout=300 WSGIScriptAlias /pagure /var/www/pagure.wsgi @@ -17,7 +17,7 @@ WSGIDaemonProcess pagure user=pagure group=packager maximum-requests=1000 displa # SSLCertificateChainFile /etc/pki/tls/certs/pagure.io.intermediate.cert # SSLCertificateKeyFile /etc/pki/tls/certs/pagure.io.key - Alias /static /usr/lib/python2.7/site-packages/pagure/static/ + Alias /pagure/static /usr/lib/python2.7/site-packages/pagure/static/ SetEnv GIT_PROJECT_ROOT /srv/git/repositories @@ -31,7 +31,7 @@ WSGIDaemonProcess pagure user=pagure group=packager maximum-requests=1000 displa /usr/libexec/git-core/git-http-backend/$1 - WSGIProcessGroup pagure + WSGIProcessGroup pagureproc # Apache 2.4 Require all granted