31 lines
739 B
Plaintext
31 lines
739 B
Plaintext
|
<VirtualHost *:80>
|
||
|
# EnableSendfile on
|
||
|
XSendFile on
|
||
|
XSendFilePath /data/storage/cloud
|
||
|
|
||
|
ServerAdmin webmaster@localhost
|
||
|
DocumentRoot /var/www/html
|
||
|
|
||
|
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
|
||
|
# error, crit, alert, emerg.
|
||
|
# It is also possible to configure the loglevel for particular
|
||
|
# modules, e.g.
|
||
|
# LogLevel info ssl:warn
|
||
|
|
||
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||
|
|
||
|
WSGIDaemonProcess cloud
|
||
|
WSGIPassAuthorization On
|
||
|
|
||
|
WSGIScriptAlias / /data/git/blender-cloud/runserver.wsgi \
|
||
|
process-group=cloud application-group=%{GLOBAL}
|
||
|
|
||
|
<Directory /data/git/blender-cloud>
|
||
|
<Files runserver.wsgi>
|
||
|
Require all granted
|
||
|
</Files>
|
||
|
</Directory>
|
||
|
</VirtualHost>
|
||
|
|