copr: use different wsgi for different urls
so overload of one kind of requests does not block backend and vice versa
This commit is contained in:
parent
2cda638026
commit
a71165245a
2 changed files with 18 additions and 2 deletions
|
@ -6,7 +6,11 @@ WSGISocketPrefix /var/run/wsgi
|
||||||
ServerName copr-fe.cloud.fedoraproject.org
|
ServerName copr-fe.cloud.fedoraproject.org
|
||||||
|
|
||||||
WSGIPassAuthorization On
|
WSGIPassAuthorization On
|
||||||
WSGIDaemonProcess 127.0.0.1 user=copr-fe group=copr-fe threads=5
|
WSGIDaemonProcess 127.0.0.1 user=copr-fe group=copr-fe threads=15 display-name=other
|
||||||
|
WSGIDaemonProcess api user=copr-fe group=copr-fe threads=15 display-name=api
|
||||||
|
WSGIDaemonProcess backend user=copr-fe group=copr-fe threads=15 display-name=backend
|
||||||
|
WSGIDaemonProcess stats user=copr-fe group=copr-fe threads=15 display-name=stats
|
||||||
|
WSGIDaemonProcess tmp user=copr-fe group=copr-fe threads=15 display-name=tmp
|
||||||
WSGIScriptAlias / /usr/share/copr/coprs_frontend/application
|
WSGIScriptAlias / /usr/share/copr/coprs_frontend/application
|
||||||
WSGIProcessGroup 127.0.0.1
|
WSGIProcessGroup 127.0.0.1
|
||||||
|
|
||||||
|
|
|
@ -13,10 +13,22 @@
|
||||||
ServerName copr-fe.cloud.fedoraproject.org:443
|
ServerName copr-fe.cloud.fedoraproject.org:443
|
||||||
|
|
||||||
WSGIPassAuthorization On
|
WSGIPassAuthorization On
|
||||||
#WSGIDaemonProcess 127.0.0.1 user=copr-fe group=copr-fe threads=5
|
|
||||||
WSGIScriptAlias / /usr/share/copr/coprs_frontend/application
|
WSGIScriptAlias / /usr/share/copr/coprs_frontend/application
|
||||||
WSGIProcessGroup 127.0.0.1
|
WSGIProcessGroup 127.0.0.1
|
||||||
|
|
||||||
|
<Location /api>
|
||||||
|
WSGIProcessGroup api
|
||||||
|
</Location>
|
||||||
|
<Location /backend>
|
||||||
|
WSGIProcessGroup backend
|
||||||
|
</Location>
|
||||||
|
<Location /stats_rcv>
|
||||||
|
WSGIProcessGroup stats
|
||||||
|
</Location>
|
||||||
|
<Location /tmp>
|
||||||
|
WSGIProcessGroup tmp
|
||||||
|
</Location>
|
||||||
|
|
||||||
#ErrorLog logs/error_coprs
|
#ErrorLog logs/error_coprs
|
||||||
#CustomLog logs/access_coprs common
|
#CustomLog logs/access_coprs common
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue