Skip to content

NVR with realtime local object detection for IP cameras

Fix Broken Links (#8711)

Justin Dhillon614a36af9f9e
diff --git a/frigate/http.py b/frigate/http.py
index 80784332d2..f3238f1926 100644
--- a/frigate/http.py
+++ b/frigate/http.py
@@ -876,7 +876,7 @@ def event_clip(id):
response.headers["Content-Length"] = os.path.getsize(clip_path)
response.headers[
"X-Accel-Redirect"
- ] = f"/clips/{file_name}" # nginx: http://wiki.nginx.org/NginxXSendfile
+ ] = f"/clips/{file_name}" # nginx: https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_ignore_headers
return response
@@ -1753,7 +1753,7 @@ def recording_clip(camera_name, start_ts, end_ts):
response.headers["Content-Length"] = os.path.getsize(path)
response.headers[
"X-Accel-Redirect"
- ] = f"/cache/{file_name}" # nginx: http://wiki.nginx.org/NginxXSendfile
+ ] = f"/cache/{file_name}" # nginx: https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_ignore_headers
return response