From 36c996a5c074139a9a5b4722c54637f798abeba2 Mon Sep 17 00:00:00 2001 From: Lander Van den Bulcke Date: Fri, 31 Oct 2025 19:30:35 +0100 Subject: [PATCH] feat: add media revproxy Signed-off-by: Lander Van den Bulcke --- hosts/servers/hosting-02.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hosts/servers/hosting-02.nix b/hosts/servers/hosting-02.nix index d4c7ca6..d6427b0 100644 --- a/hosts/servers/hosting-02.nix +++ b/hosts/servers/hosting-02.nix @@ -174,6 +174,15 @@ }; }; + services.nginx.virtualHosts."media.escapeangle.com" = { + forceSSL = true; + enableACME = true; + locations."/" = { + proxyPass = "http://localhost:8096"; + proxyWebsockets = true; + }; + }; + sops = { defaultSopsFile = ./hosting-02.yaml; secrets = {