perf(nginx): add open_file_cache to reduce overlay2 filesystem overhead

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-17 10:48:34 +02:00
co-authored by Claude Sonnet 4.6
parent 00af8edce6
commit 367cde9b6e
+5
View File
@@ -17,6 +17,11 @@ http {
keepalive_timeout 65;
types_hash_max_size 2048;
open_file_cache max=1000 inactive=30s;
open_file_cache_valid 60s;
open_file_cache_min_uses 2;
open_file_cache_errors on;
# Gzip compression
gzip on;
gzip_vary on;