From cdad146bd3ad682db323acf7c94133e86fa45d3a Mon Sep 17 00:00:00 2001 From: blake Date: Sat, 11 Oct 2025 20:02:38 -0500 Subject: [PATCH] 328 current 2025-10-11 20:00:27 25.05.20251006.20c4598 6.12.50 * --- flake.nix | 2 +- .../homelab/services/nginx-proxy/default.nix | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/flake.nix b/flake.nix index 7f49cdd..0531875 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,6 @@ # flake for blakes nixos config # define new devices in outputs -# generation: 327 current 2025-10-11 19:59:24 25.05.20251006.20c4598 6.12.50 * +# generation: 328 current 2025-10-11 20:00:27 25.05.20251006.20c4598 6.12.50 * { description = "blakes nix config"; inputs = { diff --git a/modules/homelab/services/nginx-proxy/default.nix b/modules/homelab/services/nginx-proxy/default.nix index 41e66c0..f24bc83 100644 --- a/modules/homelab/services/nginx-proxy/default.nix +++ b/modules/homelab/services/nginx-proxy/default.nix @@ -24,15 +24,15 @@ in }; # static entries -# services.nginx.virtualHosts."key.${homelab.public_domain}" = { -# forceSSL = true; -# sslCertificate = sec."ssl_blakedheld_crt".path; -# sslCertificateKey = sec."ssl_blakedheld_key".path; -# root = "/etc/webroot_keys"; -# locations."/klefki_pub.asc" = { -# index = "klefki_pub.asc"; -# }; -# }; + services.nginx.virtualHosts."key.${homelab.public_domain}" = { + forceSSL = true; + sslCertificate = sec."ssl_blakedheld_crt".path; + sslCertificateKey = sec."ssl_blakedheld_key".path; + root = "/etc/webroot_keys"; + locations."/" = { + index = "klefki_pub.asc"; + }; + }; # nginx secrets sops.secrets = {