From 4ec83d46a243a84dd567d5969641bbdbc4754e47 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Wed, 1 Oct 2014 13:24:43 +0200 Subject: [PATCH] Let's run the flask application at the root of the web server --- roles/anitya/frontend/templates/anitya.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/anitya/frontend/templates/anitya.conf b/roles/anitya/frontend/templates/anitya.conf index f268b4e425..a45cebd4cf 100644 --- a/roles/anitya/frontend/templates/anitya.conf +++ b/roles/anitya/frontend/templates/anitya.conf @@ -1,5 +1,5 @@ -Alias /anitya/static /usr/lib/python2.7/site-packages/anitya/static/ +Alias /static /usr/lib/python2.7/site-packages/anitya/static/ WSGIDaemonProcess anitya user=apache maximum-requests=1000 display-name=anitya processes=2 threads=1 WSGISocketPrefix run/wsgi @@ -7,7 +7,7 @@ WSGIRestrictStdout On WSGIRestrictSignal Off WSGIPythonOptimize 1 -WSGIScriptAlias /anitya /var/www/anitya.wsgi +WSGIScriptAlias / /var/www/anitya.wsgi WSGIProcessGroup anitya