From 9cc0f96f19639a96776231d22621dfb671e5ab2f Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Fri, 23 Dec 2022 00:06:31 +0100 Subject: [PATCH] Fix nginx config --- defaults/nginx.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/defaults/nginx.conf b/defaults/nginx.conf index a8ff289..53bcff7 100644 --- a/defaults/nginx.conf +++ b/defaults/nginx.conf @@ -47,8 +47,9 @@ http { expires modified 1h; } - location /dwd { - root /home/weewx/public_html/dwd; + location ~ ^/dwd/(icons|warn_icons)/ { + root /home/weewx/public_html; + expires 12h; } } }