gitea: fix static files
This commit is contained in:
parent
c5d369bd4c
commit
7c2f7c77b9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user