diff options
| -rw-r--r-- | git-server/cgit/cgitrc | 2 | ||||
| -rw-r--r-- | nginx/nginx.conf | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/git-server/cgit/cgitrc b/git-server/cgit/cgitrc index bf6ab31..0e8fadf 100644 --- a/git-server/cgit/cgitrc +++ b/git-server/cgit/cgitrc @@ -3,6 +3,8 @@ # Branding root-title=swave.lol git root-desc=Git repositories hosted on swave.lol +css=/cgit-css/cgit.css +logo=/cgit-css/cgit.png # Repo discovery scan-path=/repos diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 72f7ac3..450659b 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -48,6 +48,11 @@ server { charset utf-8; + # Cgit static assets (css, images) + location /cgit-css/ { + proxy_pass http://cgit:80/cgit-css/; + } + # Cgit via path prefix on main domain location /cgit { proxy_pass http://cgit:80/; |
