add proxy for some apps

This commit is contained in:
Satria 2026-03-06 21:07:52 +07:00
commit 6cdc944451
2 changed files with 26 additions and 1 deletions

View file

@ -1,6 +1,12 @@
{ homelab, lib, ... }: let
base = "proxy.${homelab.domain}";
hosts = {
"server" = { dest = "http://server.dns.${homelab.domain}:8006"; auth = false; };
"router" = { dest = "http://router.dns.${homelab.domain}:80"; auth = false; };
"home" = { dest = "http://home.dns.${homelab.domain}:8123"; auth = false; };
"nas" = { dest = "http://nas.dns.${homelab.domain}:80"; auth = false; };
"cdn" = { dest = "http://nas.dns.${homelab.domain}:3000"; auth = false; };
"dns" = { dest = "http://localhost:8088"; auth = true; };
"ai" = { dest = "http://localhost:8080"; auth = true; };