From e7344aa837a178fde9dee24cea7b351d18f75eeb Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 26 Apr 2021 19:27:18 -0400 Subject: [PATCH] enable open file cache for main static root --- nginx/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 4b4c8f48..365fc9fe 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -117,6 +117,9 @@ http { error_page 403 =404 /404; error_page 404 /404; + open_file_cache max=2048 inactive=1d; + open_file_cache_valid 1d; + include snippets/security-headers.conf; add_header Cross-Origin-Resource-Policy "same-origin" always; gzip_static on;