Nginx: disable open_file_cache if media is on NFS

This commit is contained in:
leccelecce
2025-03-19 13:06:57 +00:00
parent 7f966df5a4
commit 314b842109
3 changed files with 14 additions and 4 deletions
@@ -75,10 +75,7 @@ http {
vod_hls_mpegts_interleave_frames on;
# file handle caching / aio
open_file_cache max=1000 inactive=5m;
open_file_cache_valid 2m;
open_file_cache_min_uses 1;
open_file_cache_errors on;
include open_file_cache.conf;
aio on;
# file upload size
@@ -0,0 +1,4 @@
open_file_cache max=1000 inactive=5m;
open_file_cache_valid 2m;
open_file_cache_min_uses 1;
open_file_cache_errors on;