Attempt to fix autocloud proxy routing.

This commit is contained in:
Ralph Bean 2015-09-28 16:55:41 +00:00
parent 858a6f2193
commit 26a231213b
3 changed files with 9 additions and 4 deletions

View file

@ -264,7 +264,7 @@
website: apps.fedoraproject.org
destname: autocloud
localpath: /autocloud
remotepath: /
remotepath: /autocloud
proxyurl: http://localhost:10041
- role: httpd/reverseproxy

View file

@ -1,6 +1,6 @@
LoadModule wsgi_module modules/mod_wsgi.so
Alias /autocloud/static /usr/lib/python2.7/site-packages/autocloud/web/static/
Alias /autocloud/static /usr/share/autocloud/static
WSGIPythonEggs /var/cache/autocloud/.python-eggs
WSGIDaemonProcess autocloud user=apache group=apache maximum-requests=50000 display-name=autocloud processes=3 threads=4 inactivity-timeout=300
@ -9,7 +9,12 @@ WSGIRestrictStdout Off
WSGIRestrictSignal Off
WSGIPythonOptimize 1
WSGIScriptAlias / /usr/share/autocloud/autocloud.wsgi
WSGIScriptAlias /autocloud /usr/share/autocloud/autocloud.wsgi
<Location /autocloud>
WSGIProcessGroup autocloud
Require all granted
</Location>
<Directory /usr/share/autocloud/>
Order deny,allow

View file

@ -183,7 +183,7 @@ listen autocloud 0.0.0.0:10041
balance hdr(appserver)
server autocloud-web01 autocloud-web01:80 check inter 10s rise 1 fall 2
server autocloud-web02 autocloud-web02:80 check inter 10s rise 1 fall 2
option httpchk GET /
option httpchk GET /autocloud/
# Apache doesn't handle the initial connection here like the other proxy
# entries. This proxy also doesn't use the http mode like the others.