From d5ef607d5b9d23aad8e069d8e9f25eebd072d761 Mon Sep 17 00:00:00 2001 From: qvalentin Date: Tue, 4 Mar 2025 20:51:49 +0100 Subject: [PATCH] fix: ssl --- nixos.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos.nix b/nixos.nix index effff31..b0013c2 100644 --- a/nixos.nix +++ b/nixos.nix @@ -42,6 +42,8 @@ in }; services.nginx.virtualHosts.${cfg.nginxHostname} = { + forceSSL = true; + enableACME = true; locations = { "/" = { proxyPass = "http://127.0.0.1:${toString cfg.port}";