Fixed bad path for Traefik configuration files.

This commit is contained in:
Raphaël Numbus
2026-02-25 22:03:23 +01:00
parent 6063267e46
commit a2d8fcb929
2 changed files with 7 additions and 5 deletions
+3 -3
View File
@@ -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)";
};
};
+4 -2
View File
@@ -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