From 2cbc4ce1506989c116ee418c28c7c283627750eb Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 21 Jun 2020 14:08:09 +0200 Subject: cgit: use local forked CSS, with compact lists (needed by Ocnext commit...) --- cgit/apache2/conf-available/local-cgit.conf | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'cgit/apache2/conf-available/local-cgit.conf') diff --git a/cgit/apache2/conf-available/local-cgit.conf b/cgit/apache2/conf-available/local-cgit.conf index 27a6c13..12a1850 100644 --- a/cgit/apache2/conf-available/local-cgit.conf +++ b/cgit/apache2/conf-available/local-cgit.conf @@ -6,13 +6,21 @@ AddDefaultCharset UTF-8 Require all granted + + Options None + AllowOverride None + Require all granted + + Alias /cgit-css/ /usr/share/cgit/ Alias /favicon.ico /usr/share/cgit/favicon.ico Alias /robots.txt /usr/share/cgit/robots.txt +Alias /cgit-local/ /etc/local-COMMON/cgit/web/ + # this requires cgit config: enable-index-links=1 RedirectMatch permanent ^/([^./]+)\.git(/.*) /$1$2 - + ProxyPass unix:/run/uwsgi/app/local-git/socket|uwsgi://local-git -- cgit v1.2.3