frigate/docker/main/rootfs/usr/local
Claude 5ba7802316
Serve preview files from non-default recording roots via nginx
When cameras are configured with recording paths outside /media/frigate
(e.g. /video1, /video2), preview mp4 files generated there had no
corresponding nginx location block — requests returned 404.

At nginx startup, get_nginx_settings.py now extracts unique recording
roots outside /media/frigate from the Frigate config. The nginx run
script uses a new extra_recordings.gotmpl template to generate
location blocks (e.g. /video1/preview/) with alias directives for
each such root, included via extra_recordings.conf.

The API already returns correct src URLs for these paths (the existing
replace(BASE_DIR, "") leaves non-media paths unchanged), so no API
changes are needed.

https://claude.ai/code/session_016bxjbVpx8DqpjysnGYmXdx
2026-03-13 09:01:56 +00:00
..
ffmpeg Fix various typing issues (#18187) 2025-05-13 08:27:20 -06:00
go2rtc Miscellaneous fixes (0.17 beta) (#21607) 2026-01-12 20:36:38 -07:00
nginx Serve preview files from non-default recording roots via nginx 2026-03-13 09:01:56 +00:00