forked from shaba/openuds
44 lines
1.1 KiB
Plaintext
44 lines
1.1 KiB
Plaintext
<IfModule ssl_module>
|
|
|
|
#Listen 443
|
|
|
|
<VirtualHost *:443>
|
|
SSLEngine On
|
|
SSLCertificateFile /etc/httpd2/ssl.crt/openuds-server.crt
|
|
SSLCertificateKeyFile /etc/httpd2/ssl.key/openuds-server.key
|
|
|
|
ServerName openuds.example.com
|
|
ServerAdmin webmaster@openuds.example.com
|
|
|
|
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>
|
|
</IfModule>
|