diff options
Diffstat (limited to 'roles')
-rw-r--r-- | roles/gitolite/http/tasks/nginx-vhost.yml | 4 | ||||
-rw-r--r-- | roles/gitolite/http/templates/cgitrc.j2 | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/roles/gitolite/http/tasks/nginx-vhost.yml b/roles/gitolite/http/tasks/nginx-vhost.yml index 6b7d2bd0..706f5655 100644 --- a/roles/gitolite/http/tasks/nginx-vhost.yml +++ b/roles/gitolite/http/tasks/nginx-vhost.yml @@ -4,8 +4,8 @@ nginx_locations_base: '= /': return: "303 /cgit/" - '/cgit-css/': - alias: "/usr/share/cgit/" + '/': + root: "/usr/share/cgit/" nginx_locations_logo: {} nginx_locations_main: '/cgit/': diff --git a/roles/gitolite/http/templates/cgitrc.j2 b/roles/gitolite/http/templates/cgitrc.j2 index 131042d2..1109f6c4 100644 --- a/roles/gitolite/http/templates/cgitrc.j2 +++ b/roles/gitolite/http/templates/cgitrc.j2 @@ -1,10 +1,10 @@ ## {{ ansible_managed }} -css=/cgit-css/cgit.css +css=/cgit.css {% if 'logo' in item.value.http %} logo=/logo.png {% else %} -logo=/cgit-css/cgit.png +logo=/cgit.png {% endif %} {% if 'title' in item.value.http %} root-title={{ item.value.http.title }} |