diff options
| author | Arseney300 <Arseney300@gmail.com> | 2026-02-20 09:11:54 +0700 |
|---|---|---|
| committer | Arseney300 <Arseney300@gmail.com> | 2026-02-20 09:11:54 +0700 |
| commit | 09d1ab174826a46d173da727c7cc2b8bc1519f96 (patch) | |
| tree | 6977ca8d59601f8edd656c81e306b0ebc2d182bb | |
| parent | 495f0a728b22efa0cb8241be7dd383454488bcdc (diff) | |
| parent | 9f4ee570e617be7d25b91264f60cdc8915fc9275 (diff) | |
Merge branch 'fix/cgit-css'
| -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/; |
