diff --git a/docker/main/rootfs/usr/local/nginx/conf/nginx.conf b/docker/main/rootfs/usr/local/nginx/conf/nginx.conf index 690d08f6d0..96b2b3f085 100644 --- a/docker/main/rootfs/usr/local/nginx/conf/nginx.conf +++ b/docker/main/rootfs/usr/local/nginx/conf/nginx.conf @@ -176,6 +176,12 @@ http { add_header Cache-Control "public"; autoindex on; root /media/frigate; + + # review thumbnails are rewritten in place while a review is active, + # so a cached file size truncates the response + location /clips/review/ { + open_file_cache off; + } } location /cache/ {