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 = {