From a571c7a7f435905636a4ecbb755a4643886026c9 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Thu, 29 Oct 2026 20:04:32 -0700 Subject: Name every default asset link in the configs The nginx sub-path recipe moved only the stylesheet and the logo, and left the script and the icon pointing at the domain root. --- custom/servers/apache.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'custom/servers/apache.conf') diff --git a/custom/servers/apache.conf b/custom/servers/apache.conf index 7778c7f..80f750e 100644 --- a/custom/servers/apache.conf +++ b/custom/servers/apache.conf @@ -248,10 +248,10 @@ AddType text/plain .txt # once browsers have seen it. Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains" - # These five files are the only things served off disk. cgit.css and - # cgit.js are the paths cgit's HTML points at by default, so if you - # relocate the assets update both these Alias targets and the css, js, - # logo and favicon settings in cgitrc to agree. + # These five files are the only things served off disk. cgit's default + # css, js, logo and favicon settings point at these paths, so if you + # relocate the assets update both these Alias targets and those settings + # in cgitrc to agree. Alias /cgit.css /usr/share/cgit/cgit.css Alias /cgit.js /usr/share/cgit/cgit.js Alias /cgit.png /usr/share/cgit/cgit.png -- cgit 2.12.1