mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-20 04:23:01 +03:00
Nginx: disable open_file_cache if media is on NFS
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user