Align example config with latest manual changes #10
@ -50,4 +50,4 @@ For the site to run as expected it's necessary to create a directories and files
|
|||||||
└── [experimental builds, from branches]
|
└── [experimental builds, from branches]
|
||||||
```
|
```
|
||||||
|
|
||||||
Use the `etc/create_download_placeholders.py` script to crete some placeholders.
|
Use the `etc/create_download_placeholders.py` script to create some placeholders.
|
||||||
|
@ -1,20 +1,21 @@
|
|||||||
# Example config for blender-buildbot-www
|
# Example config for blender-buildbot-www
|
||||||
# VirtualHost port and machine_id can be tweaked depending on the runtime environment.
|
# VirtualHost port and machine_id can be tweaked depending on the runtime environment.
|
||||||
|
|
||||||
# If VirtualHost is different than 80 add
|
Listen 8000
|
||||||
# Listen XX (port number)
|
<VirtualHost *:8000>
|
||||||
<VirtualHost *:80>
|
|
||||||
|
|
||||||
# Rename machine ID
|
Define machine_id local-hostname # Replace with actual hostname
|
||||||
Define machine_id local-hostname
|
|
||||||
ServerName ${machine_id}
|
ServerName ${machine_id}
|
||||||
ServerAlias ${machine_id}
|
ServerAlias ${machine_id}
|
||||||
KeepAlive Off
|
KeepAlive Off
|
||||||
|
|
||||||
Define root_path /var/www/html
|
Define root_path /var/www/html # Replace with actual path of blender-buildbot-www
|
||||||
Define web_path ${root_path}/webroot
|
Define web_path ${root_path}/webroot
|
||||||
Define log_path ${root_path}/log
|
Define log_path ${root_path}/log
|
||||||
|
|
||||||
|
# This environment variable determines the domain used for downloads
|
||||||
|
SetEnv DOWNLOAD_FILE_DOMAIN cdn.example.com # Replace with actual CDN domain
|
||||||
|
|
||||||
DocumentRoot ${web_path}
|
DocumentRoot ${web_path}
|
||||||
|
|
||||||
<Directory "${web_path}">
|
<Directory "${web_path}">
|
||||||
@ -45,15 +46,14 @@
|
|||||||
RewriteRule ^/favicon.ico - [L,QSA]
|
RewriteRule ^/favicon.ico - [L,QSA]
|
||||||
RewriteRule ^/admin$ /admin/ [R,L]
|
RewriteRule ^/admin$ /admin/ [R,L]
|
||||||
RewriteRule ^/admin/(.*) - [L,QSA]
|
RewriteRule ^/admin/(.*) - [L,QSA]
|
||||||
RewriteRule ^/(.*).(zip|bz2|7z|gz|dmg|msi|msix|xz|sha256) - [L,QSA]
|
RewriteRule ^/(.*).(zip|bz2|7z|gz|dmg|msi|msix|xz|sha256|html|png|jpg|jpeg|json|whl|snap|flatpak) - [L,QSA]
|
||||||
RewriteRule ^(.*)(\?(.*))?$ /index.php?__path__=$1&$2 [B,L,QSA]
|
RewriteRule ^(.*)(\?(.*))?$ /index.php?__path__=$1&$2 [B,L,QSA]
|
||||||
|
|
||||||
BrowserMatch "MSIE [2-5]" \
|
BrowserMatch "MSIE [2-5]" \
|
||||||
nokeepalive ssl-unclean-shutdown \
|
nokeepalive ssl-unclean-shutdown \
|
||||||
downgrade-1.0 force-response-1.0
|
downgrade-1.0 force-response-1.0
|
||||||
|
|
||||||
|
ErrorLog ${log_path}/error.log
|
||||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
||||||
LogLevel warn
|
LogLevel warn
|
||||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
CustomLog ${log_path}/access.log vhost_combined
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
Loading…
Reference in New Issue
Block a user