2016-08-10 18:27:27 +02:00
|
|
|
<VirtualHost *:80>
|
|
|
|
XSendFile on
|
2016-08-17 08:30:26 +02:00
|
|
|
XSendFilePath /data/storage/pillar
|
|
|
|
XSendFilePath /data/git/pillar
|
2017-03-08 13:02:36 +01:00
|
|
|
XSendFilePath /data/git/attract/attract/static/
|
|
|
|
XSendFilePath /data/git/flamenco/flamenco/static/
|
2016-08-17 08:30:26 +02:00
|
|
|
XsendFilePath /data/git/blender-cloud
|
2016-08-10 18:27:27 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2016-08-24 11:17:50 +02:00
|
|
|
WSGIDaemonProcess cloud processes=4 threads=1 maximum-requests=10000
|
2016-08-10 18:27:27 +02:00
|
|
|
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>
|
|
|
|
|
2016-08-17 08:30:26 +02:00
|
|
|
# Temporary edit to remap the old cloudapi.blender.org to cloud.blender.org/api
|
|
|
|
RewriteEngine On
|
|
|
|
RewriteCond "%{HTTP_HOST}" "^cloudapi\.blender\.org" [NC]
|
|
|
|
RewriteRule (.*) /api$1 [PT]
|
|
|
|
|
|
|
|
</VirtualHost>
|