Move the WSGIDaemonProcess outside of VirtualHost so it can be used in https config

https://stackoverflow.com/a/11995769/3285282
This commit is contained in:
Jakub Kadlčík 2018-08-03 00:33:29 +02:00 committed by clime
parent 98632f0049
commit ae58597b7e

View file

@ -3,17 +3,18 @@ LoadModule wsgi_module modules/mod_wsgi.so
WSGISocketPrefix /var/run/wsgi WSGISocketPrefix /var/run/wsgi
Alias /robots.txt /var/www/html/robots.txt Alias /robots.txt /var/www/html/robots.txt
WSGIDaemonProcess 127.0.0.1 user=copr-fe group=copr-fe threads=15 display-name=other maximum-requests=8000 graceful-timeout=20
WSGIDaemonProcess api user=copr-fe group=copr-fe threads=15 display-name=api maximum-requests=8000 graceful-timeout=20
WSGIDaemonProcess backend user=copr-fe group=copr-fe threads=15 display-name=backend maximum-requests=8000 graceful-timeout=20
WSGIDaemonProcess stats user=copr-fe group=copr-fe threads=15 display-name=stats maximum-requests=8000 graceful-timeout=20
WSGIDaemonProcess tmp user=copr-fe group=copr-fe threads=15 display-name=tmp maximum-requests=8000 graceful-timeout=20
WSGIScriptAlias / /usr/share/copr/coprs_frontend/application
<VirtualHost *:80> <VirtualHost *:80>
ServerName copr.fedorainfracloud.org ServerName copr.fedorainfracloud.org
ServerAlias copr-fe.cloud.fedoraproject.org ServerAlias copr-fe.cloud.fedoraproject.org
WSGIPassAuthorization On WSGIPassAuthorization On
WSGIDaemonProcess 127.0.0.1 user=copr-fe group=copr-fe threads=15 display-name=other maximum-requests=8000 graceful-timeout=20
WSGIDaemonProcess api user=copr-fe group=copr-fe threads=15 display-name=api maximum-requests=8000 graceful-timeout=20
WSGIDaemonProcess backend user=copr-fe group=copr-fe threads=15 display-name=backend maximum-requests=8000 graceful-timeout=20
WSGIDaemonProcess stats user=copr-fe group=copr-fe threads=15 display-name=stats maximum-requests=8000 graceful-timeout=20
WSGIDaemonProcess tmp user=copr-fe group=copr-fe threads=15 display-name=tmp maximum-requests=8000 graceful-timeout=20
WSGIScriptAlias / /usr/share/copr/coprs_frontend/application
<Location /> <Location />
WSGIProcessGroup 127.0.0.1 WSGIProcessGroup 127.0.0.1
</Location> </Location>