mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +01:00 
			
		
		
		
	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
This commit is contained in:
		
							parent
							
								
									a0bc3a3626
								
							
						
					
					
						commit
						614a36af9f
					
				@ -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
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user