mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 04:05:26 +03:00
exclude vod endpoints from cache
This commit is contained in:
parent
e7d782035d
commit
60b6dc7bca
@ -194,6 +194,12 @@ http {
|
|||||||
proxy_cache_bypass $http_x_cache_bypass;
|
proxy_cache_bypass $http_x_cache_bypass;
|
||||||
add_header X-Cache-Status $upstream_cache_status;
|
add_header X-Cache-Status $upstream_cache_status;
|
||||||
|
|
||||||
|
location /api/vod/ {
|
||||||
|
proxy_pass http://frigate_api/vod/;
|
||||||
|
include proxy.conf;
|
||||||
|
proxy_cache off;
|
||||||
|
}
|
||||||
|
|
||||||
location /api/stats {
|
location /api/stats {
|
||||||
access_log off;
|
access_log off;
|
||||||
rewrite ^/api/(.*)$ $1 break;
|
rewrite ^/api/(.*)$ $1 break;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user