From 64d84a3282df45082903f097656f031a91701341 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Wed, 9 Oct 2024 10:36:43 +0200 Subject: [PATCH] cache ssl --- systems/hetzner/nginx.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/systems/hetzner/nginx.nix b/systems/hetzner/nginx.nix index 6206bff..cd5bbae 100644 --- a/systems/hetzner/nginx.nix +++ b/systems/hetzner/nginx.nix @@ -55,6 +55,8 @@ locations."/".proxyPass = "http://localhost:8080"; }; "cache.missing.ninja" = { + forceSSL = true; + enableACME = true; locations."/".proxyPass = "http://${config.services.nix-serve.bindAddress}:${toString config.services.nix-serve.port}"; }; };