From 45b856f550547ed1cec46127c386b38d0a665006 Mon Sep 17 00:00:00 2001 From: Jonatan Nilsson Date: Wed, 7 Feb 2024 20:13:06 +0000 Subject: [PATCH] adjust cache --- conf/nginx.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 901b4bc..ab78d37 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -18,7 +18,7 @@ http { tcp_nopush on; tcp_nodelay on; keepalive_timeout 65; - types_hash_max_size 2048; + types_hash_max_size 4096; # server_tokens off; # server_names_hash_bucket_size 64; @@ -115,8 +115,8 @@ http { location /kennslur/ { vod hls; vod_mode local; - vod_metadata_cache metadata_cache 15g 6h; - vod_response_cache response_cache 1g 6h; + vod_metadata_cache metadata_cache 2048m 168h; + vod_response_cache response_cache 512m 168h; vod_performance_counters perf_counters; vod_align_segments_to_key_frames on;