gitea: fix static files

This commit is contained in:
Motiejus Jakštys 2024-06-16 23:09:41 +03:00
parent c5d369bd4c
commit 7c2f7c77b9

View File

@ -77,7 +77,7 @@
caddy = { caddy = {
virtualHosts."git.jakstys.lt".extraConfig = '' virtualHosts."git.jakstys.lt".extraConfig = ''
route /static/assets/* { route /static/assets/* {
uri strip_prefix /static/assets uri strip_prefix /static
file_server * { file_server * {
root ${pkgs.compressDrvWeb pkgs.gitea.data {}}/public root ${pkgs.compressDrvWeb pkgs.gitea.data {}}/public
precompressed br gzip precompressed br gzip