mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-16 13:56:03 +08:00
32 lines
779 B
Plaintext
32 lines
779 B
Plaintext
# File Start
|
|
WSGISocketPrefix run/wsgi
|
|
|
|
WSGIRestrictStdout On
|
|
WSGIPassAuthorization On
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
|
|
# These are the real tunables
|
|
#WSGIDaemonProcess daemon processes=2 threads=2 maximum-requests=1000 user=fas group=fas display-name=fas inactivity-timeout=30
|
|
WSGIDaemonProcess fas processes=2 threads=2 maximum-requests=1000 user=fas display-name=fas inactivity-timeout=30
|
|
WSGIPythonOptimize 1
|
|
|
|
WSGIScriptAlias /fas3 /usr/sbin/fas.wsgi
|
|
|
|
<Location /fas3>
|
|
WSGIProcessGroup fas
|
|
Order deny,allow
|
|
Allow from all
|
|
</Location>
|
|
|
|
Alias /fas3/static /usr/share/fas/themes/fedoraproject/
|
|
<Directory /usr/share/fas/themes/fedoraproject/>
|
|
Require all granted
|
|
</Directory>
|
|
|
|
|
|
<Directory /usr/sbin>
|
|
Require all granted
|
|
</Directory>
|
|
|
|
ErrorLog logs/fas-error.log
|