
Added deployemnt scripts for sahara-ci. Compatible with Ubuntu Xenial. Change-Id: Ic218243efeb6c6aae17faa665755c5e722e10e2b
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
ProxyErrorOverride On
|
|
ErrorDocument 404 /
|
|
|
|
<VirtualHost *:80>
|
|
ServerAdmin webmaster@localhost
|
|
|
|
DocumentRoot /var/www
|
|
<Directory />
|
|
Options FollowSymLinks
|
|
AllowOverride None
|
|
</Directory>
|
|
<Directory /var/www/>
|
|
Options FollowSymLinks
|
|
AllowOverride None
|
|
Order allow,deny
|
|
allow from all
|
|
</Directory>
|
|
|
|
RewriteEngine on
|
|
RewriteRule ^/zuul/status.json$ http://127.0.0.1:8001/status.json [P]
|
|
SetEnv GIT_PROJECT_ROOT /var/lib/zuul/git/
|
|
SetEnv GIT_HTTP_EXPORT_ALL
|
|
|
|
AliasMatch ^/p/(.*/objects/[0-9a-f]{2}/[0-9a-f]{38})$ /var/lib/zuul/git/$1
|
|
AliasMatch ^/p/(.*/objects/pack/pack-[0-9a-f]{40}.(pack|idx))$ /var/lib/zuul/git/$1
|
|
|
|
ScriptAliasMatch /p/ /usr/lib/git-core/git-http-backend/
|
|
|
|
Alias /p /var/lib/zuul/git/
|
|
<Directory "/var/lib/zuul/git/">
|
|
DAV on
|
|
Options Indexes FollowSymLinks
|
|
AllowOverride None
|
|
Require all granted
|
|
</Directory>
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
|
|
# Possible values include: debug, info, notice, warn, error, crit,
|
|
# alert, emerg.
|
|
LogLevel warn
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
|
|
</VirtualHost>
|