❄️ Nix configurations
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(traefik): generate traefik dashboard url

both traefik and sab return to port 8080 by default...

Signed-off-by: aottr <alex@otter.foo>

aottr d854550a 0495ead4

+9 -1
+9 -1
modules/nixos/server/traefik.nix
··· 47 47 environmentFiles = [config.age.secrets."cloudflare-traefik.env".path]; 48 48 49 49 api.dashboard = true; 50 - api.insecure = true; 50 + api.insecure = false; 51 + }; 52 + 53 + dynamicConfigOptions.http.routers.dashboard = { 54 + entryPoints = [ "websecure" ]; 55 + # TODO: make hostname dynamic 56 + rule = "Host(`traefik.polecat.otter.place`)"; 57 + service = "api@internal"; 58 + tls.certResolver = "letsencrypt"; 51 59 }; 52 60 }; 53 61