mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-23 18:10:17 +08:00
Let's run the flask application at the root of the web server
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user