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
+2 -2
View File
@@ -156,7 +156,7 @@ helper.mkPodmanService {
'';
extraConfig = {
environment.etc."${config.numbus.services.traefikDynamicConfigDir}/nextcloud-onlyoffice.yaml".text = ''
environment.etc."traefik/rules/nextcloud-onlyoffice.yaml".text = ''
http:
routers:
nextcloud-onlyoffice:
@@ -176,7 +176,7 @@ helper.mkPodmanService {
- url: "http://host.containers.internal:9980"
'';
environment.etc."${config.numbus.services.traefikDynamicConfigDir}/nextcloud-whiteboard.yaml".text = ''
environment.etc."traefik/rules/nextcloud-whiteboard.yaml".text = ''
http:
routers:
nextcloud-whiteboard: