Fix latest.ext handling and disable uvicorn access logs

This commit is contained in:
Nicolas Mowen 2024-09-23 16:59:28 -06:00
parent 70a3f7fca6
commit 920f369473
2 changed files with 2 additions and 1 deletions

View File

@ -224,7 +224,7 @@ http {
location ~* /api/.*\.(jpg|jpeg|png|webp|gif)$ { location ~* /api/.*\.(jpg|jpeg|png|webp|gif)$ {
include auth_request.conf; include auth_request.conf;
rewrite ^/api/(.*)$ $1 break; rewrite ^/api/(.*)$ /$1 break;
proxy_pass http://frigate_api; proxy_pass http://frigate_api;
include proxy.conf; include proxy.conf;
} }

View File

@ -747,6 +747,7 @@ class FrigateApp:
self.fastapi_app, self.fastapi_app,
host="127.0.0.1", host="127.0.0.1",
port=5001, port=5001,
log_level="error",
) )
except KeyboardInterrupt: except KeyboardInterrupt:
pass pass