diff --git a/hosts/nixos/hs/proxy.nix b/hosts/nixos/hs/proxy.nix index 0af849b..da6b2f9 100644 --- a/hosts/nixos/hs/proxy.nix +++ b/hosts/nixos/hs/proxy.nix @@ -16,6 +16,17 @@ }; }; + files = { + rule = "Host(`files.${config.networking.hostName}.yanlincs.com`)"; + service = "files"; + tls = { + certResolver = "cloudflare"; + domains = [{ + main = "*.${config.networking.hostName}.yanlincs.com"; + }]; + }; + }; + }; services = { @@ -27,6 +38,14 @@ }; }; + files = { + loadBalancer = { + servers = [{ + url = "http://localhost:5099"; + }]; + }; + }; + }; }; };