diff --git a/nixos/viridian/services/traefik/default.nix b/nixos/viridian/services/traefik/default.nix index 36c9b35..9ed50a2 100644 --- a/nixos/viridian/services/traefik/default.nix +++ b/nixos/viridian/services/traefik/default.nix @@ -96,6 +96,16 @@ # Connect requests to services http = { routers = { + # Static site / blog with hugo and httpd + httpd = { + rule = "Host(`sajenim.dev`)"; + entryPoints = [ + "websecure" + ]; + middlewares = [ ]; + service = "httpd"; + }; + # Central control system home-assistant = { rule = "Host(`kanto.dev`)"; @@ -156,6 +166,9 @@ # How to reach the actual services services = { + httpd.loadBalancer.servers = [ + { url = "http://192.168.1.102:5624"; } + ]; home-assistant.loadBalancer.servers = [ { url = "http://192.168.1.102:8123"; } ];