fix invtracker-web

This commit is contained in:
Charlotte 🦝 Delenk 2022-08-28 15:10:30 +01:00
parent e5183b4a30
commit 30d6e3e2cd
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
2 changed files with 16 additions and 6 deletions

View file

@ -32,9 +32,19 @@ in {
extraConfig = ''
import baseConfig
handle /web/* {
handle_path /assets/* {
root * ${invtracker.packages.${pkgs.system}.invtracker-web}/assets
file_server {
precompressed zstd br gzip
}
}
handle_path /web/* {
root * ${invtracker.packages.${pkgs.system}.invtracker-web}
try_files {path} /web/index.html
file_server {
precompressed zstd br gzip
}
try_files {path} /index.html
}
handle {

View file

@ -562,11 +562,11 @@
"nixpkgs": "nixpkgs_4"
},
"locked": {
"lastModified": 1661329448,
"narHash": "sha256-qPQGIBE5jXh0dM/aLlEtXRH9b8ktp2gRY8Lzn9gUIyU=",
"lastModified": 1661695658,
"narHash": "sha256-TWOhptDKsQ4UpORh9rtgxgQUyo6Gfp14ZO0oI8zxHtk=",
"ref": "refs/heads/main",
"rev": "ab407f23487a13ed5c6adf1600ad682b657d8866",
"revCount": 26,
"rev": "f19d9ac9d464c98ea2b37e5dee485efd1eb57ea3",
"revCount": 30,
"type": "git",
"url": "https://git.chir.rs/darkkirb/Programmierbeleg"
},