fix route for stats and version

This commit is contained in:
Blake Blackshear 2023-10-21 10:27:03 -05:00
parent 18545718c1
commit 0ed204922f

View File

@ -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;
} }
} }