Removed Traefik rules location modularity (why would anyone change it ?) and fixed Traefik no such file or dir error.

This commit is contained in:
Raphaël Numbus
2026-02-26 11:36:31 +01:00
parent ca3f766975
commit 47db93e61b
4 changed files with 8 additions and 20 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ with lib;
{
environment.etc."podman/${name}/compose.yaml".text = composeText;
environment.etc."${config.numbus.services.traefikDynamicConfigDir}/${name}.yaml" = mkIf cfg.reverseProxied {
environment.etc."traefik/rules/${name}.yaml" = mkIf cfg.reverseProxied {
text = ''
http:
routers: