diff --git a/machines/kcnhub/servers/xpra.nix b/machines/kcnhub/servers/xpra.nix index 544ff97..73045f3 100644 --- a/machines/kcnhub/servers/xpra.nix +++ b/machines/kcnhub/servers/xpra.nix @@ -44,5 +44,12 @@ in { ProtectKernelTunables = true; ProtectControlGroups = true; }; - }; + }; + services.caddy.virtualHosts = { + "remote.ws.kcnhub.com" = { + extraConfig = '' + reverse_proxy 127.0.0.1:${toString 10000} + ''; + }; + }; }