Fixed bad path for Traefik configuration files.
This commit is contained in:
+3
-3
@@ -37,9 +37,9 @@ with lib;
|
||||
};
|
||||
traefikDynamicConfigDir = mkOption {
|
||||
type = types.str;
|
||||
default = "/traefik/rules";
|
||||
example = "/traefik/rules";
|
||||
description = "The directory where Traefik's dynamic configuration files will be stored, appended to /etc (i.e. to get /etc/traefik/rules as final path, enter /traefik/rules)";
|
||||
default = "traefik/rules";
|
||||
example = "traefik/rules";
|
||||
description = "The directory where Traefik's dynamic configuration files will be stored, appended to /etc/ (i.e. to get /etc/traefik/rules as final path, enter traefik/rules)";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -142,12 +142,14 @@ helper.mkPodmanService {
|
||||
enable.default = true;
|
||||
traefikStaticConfigDir = mkOption {
|
||||
type = types.str;
|
||||
default = "/traefik";
|
||||
description = "The path of the directory containing Traefik's static configuration file, appended to /etc (i.e. to get /etc/traefik as final path, enter /traefik)";
|
||||
default = "traefik";
|
||||
example = "traefik";
|
||||
description = "The path of the directory containing Traefik's static configuration file, appended to /etc/ (i.e. to get /etc/traefik as final path, enter traefik)";
|
||||
};
|
||||
logLevel = mkOption {
|
||||
type = types.enum [ "TRACE" "DEBUG" "INFO" "WARN" "ERROR" "FATAL" ];
|
||||
default = "ERROR";
|
||||
example = "ERROR";
|
||||
description = "The level of detail Traefik should print in the logs.";
|
||||
};
|
||||
# traefikDynamicConfigDir defined at global.nix
|
||||
|
||||
Reference in New Issue
Block a user