diff --git a/nixos/hosts/ingress-proxy/default.nix b/nixos/hosts/ingress-proxy/default.nix index 757d991..a4ca7a9 100644 --- a/nixos/hosts/ingress-proxy/default.nix +++ b/nixos/hosts/ingress-proxy/default.nix @@ -1,7 +1,7 @@ { lib, pkgs, config, inputs, ... }: let tsHost = name: port: "${name}.hoki-porgy.ts.net:${toString port}"; flakePackage = flake: inputs.${flake}.packages.${pkgs.system}.default; -in { +in rec { imports = [ ../../templates/proxmox-lxc.nix ../../server.nix @@ -86,7 +86,7 @@ in { proxyWebsockets = true; }; } // defaultConfig; - in { + in rec { "mekanoe.com" = mekanoesh; "noe.sh" = mekanoesh; @@ -138,6 +138,8 @@ in { proxy_request_buffering off; ''; }; + + locations."/media/proxy" = services.nginx.virtualHosts."media.sapphic.engineer".locations."/proxy"; } // defaultConfig // { forceSSL = false; }; "media.sapphic.engineer" = rec {