summaryrefslogtreecommitdiffstats
path: root/cgit/httpd.conf
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2024-03-12 03:23:04 -0400
committerMalfurious <m@lfurio.us>2024-03-12 03:23:04 -0400
commit0ec552bba12f8bc2ab51db7af0042d09ad25a782 (patch)
tree1ed7993fe73b121f5a248cf64464af95751c055f /cgit/httpd.conf
parent505e52aa3dd44b94a878c7a7e906263535e1df56 (diff)
downloadsrcnode-0ec552bba12f8bc2ab51db7af0042d09ad25a782.tar.gz
srcnode-0ec552bba12f8bc2ab51db7af0042d09ad25a782.zip
cgit: Add custom logo
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to '')
-rw-r--r--cgit/httpd.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/cgit/httpd.conf b/cgit/httpd.conf
index e8ee772..cd36af4 100644
--- a/cgit/httpd.conf
+++ b/cgit/httpd.conf
@@ -22,12 +22,19 @@ LogLevel warn
Require all denied
</Directory>
+<Directory "/usr/share/normalmode/">
+ AllowOverride None
+ Require all granted
+</Directory>
+
<Directory "/usr/share/webapps/cgit/">
AllowOverride None
Options ExecCGI FollowSymlinks
Require all granted
</Directory>
+Alias /logo.png "/usr/share/normalmode/logo.png"
+
Alias /cgit.css "/usr/share/webapps/cgit/cgit.css"
Alias /cgit.png "/usr/share/webapps/cgit/cgit.png"
Alias /favicon.ico "/usr/share/webapps/cgit/favicon.ico"