diff --git a/machines/kcnhub/servers/overleaf.nix b/machines/kcnhub/servers/overleaf.nix index a48f3e6..8234b14 100644 --- a/machines/kcnhub/servers/overleaf.nix +++ b/machines/kcnhub/servers/overleaf.nix @@ -12,6 +12,15 @@ in { }; groups.overleaf = {}; }; + + services.caddy.virtualHosts = { + "overleaf.ws.kcnhub.com" = { + extraConfig = '' + reverse_proxy 127.0.0.1:7080 + ''; + }; + }; + # Overleaf only officially supports container based installation # For ease of use and compatability we shall follow suit (for now) # An imperative installation is described below, to be updated