test(reverse-proxy): add neogaia hello route
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user