Fixed bad path for Traefik configuration files.
This commit is contained in:
+3
-3
@@ -37,9 +37,9 @@ with lib;
|
|||||||
};
|
};
|
||||||
traefikDynamicConfigDir = mkOption {
|
traefikDynamicConfigDir = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/traefik/rules";
|
default = "traefik/rules";
|
||||||
example = "/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)";
|
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;
|
enable.default = true;
|
||||||
traefikStaticConfigDir = mkOption {
|
traefikStaticConfigDir = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/traefik";
|
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)";
|
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 {
|
logLevel = mkOption {
|
||||||
type = types.enum [ "TRACE" "DEBUG" "INFO" "WARN" "ERROR" "FATAL" ];
|
type = types.enum [ "TRACE" "DEBUG" "INFO" "WARN" "ERROR" "FATAL" ];
|
||||||
default = "ERROR";
|
default = "ERROR";
|
||||||
|
example = "ERROR";
|
||||||
description = "The level of detail Traefik should print in the logs.";
|
description = "The level of detail Traefik should print in the logs.";
|
||||||
};
|
};
|
||||||
# traefikDynamicConfigDir defined at global.nix
|
# traefikDynamicConfigDir defined at global.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user