From 934904d3143f140b12a5dc99c463d7b5f07a5278 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Mon, 6 Mar 2023 22:21:22 +0100 Subject: [PATCH] weewx: Remove from CF --- container/webserver/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/container/webserver/default.nix b/container/webserver/default.nix index 45e470a..568fd73 100644 --- a/container/webserver/default.nix +++ b/container/webserver/default.nix @@ -46,10 +46,13 @@ in http3 = true; root = "/etc/container-webserver/weewx/html/wdc"; - index = "index.html"; forceSSL = true; useACMEHost = "kempkens.io"; + extraConfig = '' + index index.html; + ''; + location."~* \.html$".extraConfig = '' expires modified 120s; '';