From 614a36af9f9eeba64cc3016ca2f5b8ce4f4cde45 Mon Sep 17 00:00:00 2001 From: Justin Dhillon Date: Fri, 24 Nov 2023 05:33:50 -0800 Subject: [PATCH] Fix Broken Links (#8711) * fixed broken link https://www.nginx.com/resources/wiki/start/topics/examples/xsendfile/ * fixed broken link https://www.nginx.com/resources/wiki/start/topics/examples/xsendfile/ * fixed broken link https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_ignore_headers * fixed broken link https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_ignore_headers --- frigate/http.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frigate/http.py b/frigate/http.py index 80784332d..f3238f192 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