From ca63e809547183b8a57bc228acf1f9d66a9f7139 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Mon, 6 Mar 2023 22:22:15 +0100 Subject: [PATCH] weewx: Remove from CF --- container/webserver/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/container/webserver/default.nix b/container/webserver/default.nix index 568fd73..9fe7bf3 100644 --- a/container/webserver/default.nix +++ b/container/webserver/default.nix @@ -53,11 +53,11 @@ in index index.html; ''; - location."~* \.html$".extraConfig = '' + locations."~* \.html$".extraConfig = '' expires modified 120s; ''; - location."~* \.(js|css)$".extraConfig = '' + locations."~* \.(js|css)$".extraConfig = '' expires 1h; ''; @@ -66,7 +66,7 @@ in proxyPass = "http://127.0.0.1:8000"; }; - location."~ ^/dwd/[\w]+\.(gif|png)".extraConfig = '' + locations."~ ^/dwd/[\w]+\.(gif|png)".extraConfig = '' expires modified 1h; ''; };