openuds/.gear/openuds-httpd.conf

35 lines
890 B
Plaintext
Raw Normal View History

#Listen 443
<VirtualHost *:80>
DocumentRoot /usr/share/openuds
2020-12-03 22:13:26 +03:00
Alias /favicon.ico /usr/share/openuds/uds/static/modern/img/favicon.ico
2020-11-05 18:17:26 +03:00
Alias /static/ /usr/share/openuds/uds/static/
2020-12-03 22:13:26 +03:00
Alias /uds/res/ /usr/share/openuds/uds/static/
2020-11-05 18:17:26 +03:00
LogLevel warn
ErrorLog /var/log/openuds/error.log
# CustomLog /var/log/openuds/access.log combined
WSGIScriptReloading On
2020-11-05 18:17:26 +03:00
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>