From 38fbed51a03bc1dec66acf9714895fd2ecd168f2 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Wed, 9 Oct 2024 10:23:09 +0200 Subject: [PATCH] add nginx proxy --- systems/hetzner/nginx.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/systems/hetzner/nginx.nix b/systems/hetzner/nginx.nix index 215d249..6206bff 100644 --- a/systems/hetzner/nginx.nix +++ b/systems/hetzner/nginx.nix @@ -54,6 +54,9 @@ enableACME = true; locations."/".proxyPass = "http://localhost:8080"; }; + "cache.missing.ninja" = { + locations."/".proxyPass = "http://${config.services.nix-serve.bindAddress}:${toString config.services.nix-serve.port}"; + }; }; };