openuds/.gear/openuds-httpd.conf

35 lines
890 B
Plaintext

#Listen 443
<VirtualHost *:80>
DocumentRoot /usr/share/openuds
Alias /favicon.ico /usr/share/openuds/uds/static/modern/img/favicon.ico
Alias /static/ /usr/share/openuds/uds/static/
Alias /uds/res/ /usr/share/openuds/uds/static/
LogLevel warn
ErrorLog /var/log/openuds/error.log
# CustomLog /var/log/openuds/access.log combined
WSGIScriptReloading On
WSGIDaemonProcess openuds processes=2 threads=10 python-path=/usr/share/openuds user=openuds group=openuds display-name=%{GROUP}
WSGIProcessGroup openuds
WSGIApplicationGroup openuds
WSGIPassAuthorization On
WSGIScriptAlias / /usr/share/openuds/server/wsgi.py
<Directory /usr/share/openuds/uds>
Require all granted
</Directory>
<Directory /usr/share/openuds/server>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
</VirtualHost>