mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-23 18:10:17 +08:00
ipsilon: set up wsgi config
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
@@ -2,8 +2,16 @@ Alias /ui /usr/share/ipsilon/ui
|
||||
Alias /.well-known /etc/ipsilon/wellknown
|
||||
WSGIScriptAlias / /usr/libexec/ipsilon
|
||||
WSGIPassAuthorization On
|
||||
{% if inventory_hostname.startswith('os-') %}
|
||||
WSGIDaemonProcess ipsilon home=/var/lib/ipsilon processes=2 threads=2 maximum-requests=1000
|
||||
WSGIApplicationGroup %{GLOBAL}
|
||||
WSGISocketPrefix /httpdir/run/wsgi
|
||||
WSGIRestrictStdout Off
|
||||
WSGIRestrictSignal Off
|
||||
{% else %}
|
||||
WSGIDaemonProcess ipsilon user=ipsilon group=ipsilon home=/var/lib/ipsilon processes=2 threads=2 maximum-requests=1000
|
||||
WSGIImportScript /usr/libexec/ipsilon process-group=ipsilon application-group=ipsilon
|
||||
{% endif %}
|
||||
|
||||
|
||||
<Location />
|
||||
|
||||
Reference in New Issue
Block a user