add cdn to proxy

This commit is contained in:
Satria 2026-03-01 09:41:25 +07:00
commit 5246d65afb
2 changed files with 3 additions and 6 deletions

View file

@ -1,7 +1,8 @@
{ homelab, ... }: let
base = "proxy.${homelab.domain}";
proxyMappings = {
"dns" = { dest = "http://localhost:8088"; auth = true; };
"dns" = { dest = "http://localhost:8088"; auth = true; };
"cdn" = { dest = "http://localhost:3000"; auth = false; };
};
in {
users.users.nginx.extraGroups = [ "acme" ];