From 1d42fa374ca9b84cc262aeb706501ebc9e20bd05 Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Sat, 6 Jan 2024 07:14:35 +0000 Subject: [PATCH] Expose cloud traefik dashboard over Tailscale. --- hosts/alo-cloud-1/reverse-proxy.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/hosts/alo-cloud-1/reverse-proxy.nix b/hosts/alo-cloud-1/reverse-proxy.nix index 73a016b..e4d7847 100644 --- a/hosts/alo-cloud-1/reverse-proxy.nix +++ b/hosts/alo-cloud-1/reverse-proxy.nix @@ -16,6 +16,10 @@ accessLog = {}; + api = { + dashboard = true; + }; + certificatesResolvers = { letsencrypt = { acme = { @@ -47,6 +51,9 @@ }; }; }; + tailscale = { + address = "100.75.147.49:8080"; + }; }; }; @@ -66,6 +73,12 @@ }; routers = { + api = { + entryPoints = "tailscale"; + rule = "Host(`traefik-cloud.v.paler.net`)"; + service = "api@internal"; + }; + wordpress-paler-net = { entryPoints = "websecure"; rule = "Host(`wordpress.paler.net`)";