From 3f95d0112633ea22c830e1cede043b09cc424052 Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Wed, 14 Jul 2021 18:17:38 -0300 Subject: [PATCH] Add aggressive caching for /static directory --- nginx.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nginx.conf b/nginx.conf index 029fb69..55189ba 100644 --- a/nginx.conf +++ b/nginx.conf @@ -4,6 +4,11 @@ server { #access_log /var/log/nginx/host.access.log main; + location /static { + root /usr/share/nginx/html; + expires max; + } + location /signatures { root /usr/share/nginx/html; expires 30d;