all repos — nixfiles @ 080e3eae94fb8defb6e3352cbca09da548792b39

System and user configuration, managed by nix and home-manager

marvin: enable access to llama via tailscale

Alan Pearce
commit

080e3eae94fb8defb6e3352cbca09da548792b39

parent

a2bbba41c3359bf5ee5276529fbf082530dcef09

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