fix route for stats and version (#8263)

This commit is contained in:
Blake Blackshear 2023-10-21 11:40:46 -04:00 committed by GitHub
parent 18545718c1
commit 1e71e36056
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,17 +187,15 @@ http {
location /api/stats {
access_log off;
add_header Cache-Control "no-store";
expires off;
proxy_pass http://frigate_api/;
rewrite ^/api/(.*)$ $1 break;
proxy_pass http://frigate_api;
include proxy.conf;
}
location /api/version {
access_log off;
add_header Cache-Control "no-store";
expires off;
proxy_pass http://frigate_api/;
rewrite ^/api/(.*)$ $1 break;
proxy_pass http://frigate_api;
include proxy.conf;
}
}