fix mark
This commit is contained in:
@@ -2,7 +2,10 @@
|
||||
let
|
||||
version = "latest";
|
||||
serverCfg = config.syscfg.server;
|
||||
|
||||
|
||||
routerName = if containerCfg.subpath != null
|
||||
then "${containerCfg.subdomain}-${lib.strings.sanitizeDerivationName containerCfg.subpath}"
|
||||
else containerCfg.subdomain;
|
||||
in {
|
||||
sops = false;
|
||||
db = false;
|
||||
@@ -80,7 +83,7 @@ in {
|
||||
|
||||
extraLabels = {
|
||||
} // (if serverCfg.containers ? authentik then {
|
||||
"traefik.http.routers.${containerCfg.subdomain}.middlewares" = "authentik";
|
||||
"traefik.http.routers.${routerName}.middlewares" = "authentik";
|
||||
} else {});
|
||||
overrides = {
|
||||
volumes = [ ];
|
||||
|
||||
Reference in New Issue
Block a user