summaryrefslogtreecommitdiff
path: root/nginx/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nginx/nginx.conf')
-rw-r--r--nginx/nginx.conf5
1 files changed, 5 insertions, 0 deletions
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/;