diff --git a/nginx.conf b/nginx.conf index b72ba4b..2606430 100644 --- a/nginx.conf +++ b/nginx.conf @@ -9,6 +9,11 @@ server { gzip_types text/plain text/css application/json application/javascript image/svg+xml; gzip_min_length 256; + open_file_cache max=1000 inactive=30s; + open_file_cache_valid 60s; + open_file_cache_min_uses 2; + open_file_cache_errors on; + # Long-cache static assets (CSS, JS, images, fonts) location ~* \.(css|js|woff2?|ttf|otf|eot|svg|webp|png|jpg|jpeg|ico|gif)$ { expires 1y;