fix invtracker-web
This commit is contained in:
parent
e5183b4a30
commit
30d6e3e2cd
2 changed files with 16 additions and 6 deletions
|
@ -32,9 +32,19 @@ in {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
import baseConfig
|
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}
|
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 {
|
handle {
|
||||||
|
|
|
@ -562,11 +562,11 @@
|
||||||
"nixpkgs": "nixpkgs_4"
|
"nixpkgs": "nixpkgs_4"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1661329448,
|
"lastModified": 1661695658,
|
||||||
"narHash": "sha256-qPQGIBE5jXh0dM/aLlEtXRH9b8ktp2gRY8Lzn9gUIyU=",
|
"narHash": "sha256-TWOhptDKsQ4UpORh9rtgxgQUyo6Gfp14ZO0oI8zxHtk=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "ab407f23487a13ed5c6adf1600ad682b657d8866",
|
"rev": "f19d9ac9d464c98ea2b37e5dee485efd1eb57ea3",
|
||||||
"revCount": 26,
|
"revCount": 30,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.chir.rs/darkkirb/Programmierbeleg"
|
"url": "https://git.chir.rs/darkkirb/Programmierbeleg"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue