mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-23 19:11:14 +01:00
fix route for stats and version (#8263)
This commit is contained in:
parent
18545718c1
commit
1e71e36056
@ -187,17 +187,15 @@ http {
|
|||||||
|
|
||||||
location /api/stats {
|
location /api/stats {
|
||||||
access_log off;
|
access_log off;
|
||||||
add_header Cache-Control "no-store";
|
rewrite ^/api/(.*)$ $1 break;
|
||||||
expires off;
|
proxy_pass http://frigate_api;
|
||||||
proxy_pass http://frigate_api/;
|
|
||||||
include proxy.conf;
|
include proxy.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /api/version {
|
location /api/version {
|
||||||
access_log off;
|
access_log off;
|
||||||
add_header Cache-Control "no-store";
|
rewrite ^/api/(.*)$ $1 break;
|
||||||
expires off;
|
proxy_pass http://frigate_api;
|
||||||
proxy_pass http://frigate_api/;
|
|
||||||
include proxy.conf;
|
include proxy.conf;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user