summaryrefslogtreecommitdiffstats
path: root/roles/anitya/frontend
diff options
context:
space:
mode:
authorPierre-Yves Chibon <pingou@pingoured.fr>2014-10-01 13:24:43 +0200
committerPierre-Yves Chibon <pingou@pingoured.fr>2014-10-01 13:24:43 +0200
commit4ec83d46a243a84dd567d5969641bbdbc4754e47 (patch)
treea894a9be6cfbd7fb0f685d6252fd9c31bc30c5de /roles/anitya/frontend
parentc0db61704637f94602af6736f35f0cbd35a5c9cd (diff)
downloadansible-4ec83d46a243a84dd567d5969641bbdbc4754e47.tar.gz
ansible-4ec83d46a243a84dd567d5969641bbdbc4754e47.tar.xz
ansible-4ec83d46a243a84dd567d5969641bbdbc4754e47.zip
Let's run the flask application at the root of the web server
Diffstat (limited to 'roles/anitya/frontend')
-rw-r--r--roles/anitya/frontend/templates/anitya.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/anitya/frontend/templates/anitya.conf b/roles/anitya/frontend/templates/anitya.conf
index f268b4e42..a45cebd4c 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
<Location />
WSGIProcessGroup anitya