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:
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user