marvin: enable access to llama via tailscale
1 file changed, 16 insertions(+), 0 deletions(-)
changed files
M system/hosts/marvin.nix → system/hosts/marvin.nix
@@ -4,6 +4,9 @@ pkgs, lib, ... }: +let + tsnet = "fin-marlin.ts.net"; +in { imports = [ ../settings/darwin.nix@@ -36,6 +39,19 @@ services.caddy = { user = "root"; group = "wheel"; + virtualHosts = { + "${config.networking.hostName}.${tsnet}" = { + logFormat = "output discard"; + extraConfig = '' + reverse_proxy http://localhost:9090 { + transport http { + dial_timeout 1s + compression off + } + } + ''; + }; + }; }; services.redis = {