From 14e2dca8652e044540cc1567c90b1004f67226d6 Mon Sep 17 00:00:00 2001 From: David Crompton Date: Tue, 7 Nov 2023 13:06:10 -0500 Subject: [PATCH] Overleaf: Add Domain --- machines/kcnhub/servers/overleaf.nix | 9 +++++++++ 1 file changed, 9 insertions(+) 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