summaryrefslogtreecommitdiff
path: root/per-service
diff options
context:
space:
mode:
authorAndy Doan <andy.doan@linaro.org>2016-09-22 16:29:07 -0500
committerAndy Doan <andy.doan@linaro.org>2016-09-22 16:29:07 -0500
commit7b0d285809481cf87222ae08391831281f97e36f (patch)
tree28244ebc9b0617bbc438e481e2c4db31e5f27278 /per-service
parentb75a375944e38c2eaede5f2bbdc0da1b1cef09f7 (diff)
downloadansible-playbooks-7b0d285809481cf87222ae08391831281f97e36f.tar.gz
git/cgit: fix bug found during deployment
The CSS file wasn't being served. Change-Id: I7914f78b67edbf7089f787a667bcdcec860906bf
Diffstat (limited to 'per-service')
-rw-r--r--per-service/git-servers/files/git.linaro.org.conf6
1 files changed, 4 insertions, 2 deletions
diff --git a/per-service/git-servers/files/git.linaro.org.conf b/per-service/git-servers/files/git.linaro.org.conf
index 0d7c48c..b68c1f2 100644
--- a/per-service/git-servers/files/git.linaro.org.conf
+++ b/per-service/git-servers/files/git.linaro.org.conf
@@ -129,12 +129,13 @@ SuexecUserGroup {{ git_user }} {{ git_user }}
RewriteRule ^.* /gitweb.cgi/$0 [B,passthrough,last]
</Directory>
+ Alias /cgit-css "/var/www/cgit/cgit-css/"
ScriptAlias /cgit/ "{{ apache_root}}/cgit/cgit/"
RedirectMatch ^/cgit$ /cgit/
<Directory "{{ apache_root }}/cgit/">
AllowOverride None
Options ExecCGI FollowSymlinks
- Require all granted
+ Require all granted
</Directory>
</VirtualHost>
@@ -278,11 +279,12 @@ SuexecUserGroup {{ git_user }} {{ git_user }}
RewriteRule ^.* /gitweb.cgi/$0 [B,passthrough,last]
</Directory>
+ Alias /cgit-css "/var/www/cgit/cgit-css/"
ScriptAlias /cgit/ "{{ apache_root}}/cgit/cgit/"
RedirectMatch ^/cgit$ /cgit/
<Directory "{{ apache_root }}/cgit/">
AllowOverride None
Options ExecCGI FollowSymlinks
- Require all granted
+ Require all granted
</Directory>
</VirtualHost>