mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-12 05:16:25 +03:00
dependency-track: don't bundle frontend in jar
Bundling the frontend in the jar is deprecated by upstream and causes the frontend from being serve after weeks of runtime.
This commit is contained in:
parent
28e18569a4
commit
8af0a5abfd
3 changed files with 11 additions and 8 deletions
|
@ -509,7 +509,8 @@ in
|
|||
upstreams.dependency-track.servers."localhost:${toString cfg.port}" = { };
|
||||
virtualHosts.${cfg.nginx.domain} = {
|
||||
locations = {
|
||||
"/".proxyPass = "http://dependency-track";
|
||||
"/".alias = "${cfg.package.frontend}/dist/";
|
||||
"/api".proxyPass = "http://dependency-track";
|
||||
"= /static/config.json".alias = frontendConfigFile;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue