From 64cec11c5c254a95fcc4a51295a41af70f686bb5 Mon Sep 17 00:00:00 2001 From: Daniel Frank Date: Sat, 22 Jan 2022 17:44:23 +0100 Subject: [PATCH] enable https --- nginx.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nginx.nix b/nginx.nix index 1fa0dc6..37cedc4 100644 --- a/nginx.nix +++ b/nginx.nix @@ -9,8 +9,10 @@ recommendedOptimisation = true; recommendedProxySettings = true; recommendedTlsSettings = true; - virtualHosts."stats" = { + virtualHosts."stats.hamburg.freifunk.net" = { default = true; + enableACME = true; + forceSSL = true; locations."/".proxyPass = "http://unix:${config.services.grafana.socket}:/"; }; };