This commit is contained in:
2026-03-26 05:23:37 -03:00
parent d58a90157a
commit 731964ca10
4 changed files with 140 additions and 1 deletions

View File

@@ -98,6 +98,13 @@ http {
proxy_set_header Host $host;
}
# Detection API (replay, retry, checkpoints)
location /api/detect/ {
proxy_pass http://fastapi/detect/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
# SSE streams — disable buffering for realtime delivery
location /api/detect/stream/ {
proxy_pass http://fastapi/detect/stream/;