From 473f2ff1bdd3dc0200a5af202edab2d4e09366fb Mon Sep 17 00:00:00 2001 From: root Date: Fri, 30 Sep 2022 07:04:11 -0400 Subject: [PATCH] Cache imgs in website.conf --- common/website.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/website.conf b/common/website.conf index d7604a7..ffab337 100644 --- a/common/website.conf +++ b/common/website.conf @@ -30,6 +30,9 @@ location / { error_page 503 /errors/503; } +location ~* \.(jpg|jpeg|png|gif|ico)$ { + expires 30d; +} location /dom-tor { return 200 "vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion"; }