commit 1aa4b5c04e9327d471c42ee62ce066a450d4c40a parent 20f124ae9d753dac0664953edee45c01c6b1d068 Author: Anton Konyahin <me@konyahin.xyz> Date: Sun, 6 Nov 2022 19:37:43 +0300 scripts: fix problem with logo and style for repositories at git site Diffstat:
M | scripts/dot-bin/git_setup.sh | | | 12 | ++++++++++++ |
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/scripts/dot-bin/git_setup.sh b/scripts/dot-bin/git_setup.sh @@ -32,6 +32,18 @@ server "git.konyahin.xyz" { root "/acme" request strip 2 } + + location "*/style.css" { + request rewrite "/style.css" + } + + location "*/logo.png" { + request rewrite "/logo.png" + } + + location "*/favicon.png" { + request rewrite "/favicon.png" + } } END