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; '';