From cab6af7b567ea34a5daf12ed2a9e6efff24df6d5 Mon Sep 17 00:00:00 2001 From: alexion Date: Mon, 17 Aug 2026 14:39:50 -0400 Subject: [PATCH] test(reverse-proxy): add neogaia hello route --- hosts/neogaia/default.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/hosts/neogaia/default.nix b/hosts/neogaia/default.nix index 325cb74..9a00068 100644 --- a/hosts/neogaia/default.nix +++ b/hosts/neogaia/default.nix @@ -40,6 +40,28 @@ modules.toolkit.enable = true; + modules.reverse-proxy.routes.neogaia-hello = { + host = "neogaia-hello.alexion.dev"; + backend = "http://10.23.50.146:8080"; + tls = false; + }; + + networking.firewall.allowedTCPPorts = [ 8080 ]; + + services.nginx = { + enable = true; + virtualHosts."neogaia-hello.local" = { + listen = [ + { + addr = "0.0.0.0"; + port = 8080; + } + ]; + extraConfig = "default_type text/plain;"; + locations."/".return = "200 'hello from neogaia via the fleet route registry\\n'"; + }; + }; + # The walking-skeleton guest, enabled like any module: proves the guest path # end to end through this host's `nix flake check`. # Modest caps keep the skeleton guest from starving the laptop.