feat(dogfood-wave1): Studio retries, Chat error, LLM gateway, kill snapshot, topbar cleanup (#14)
build-and-publish / test (push) Has been cancelled
build-and-publish / image (push) Has been cancelled

This commit was merged in pull request #14.
This commit is contained in:
2026-06-15 14:30:04 +00:00
parent 601429ea89
commit d5a9c81b9c
17 changed files with 513 additions and 185 deletions
+9
View File
@@ -28,6 +28,9 @@ server {
resolver 10.43.0.10 1.1.1.1 8.8.8.8 valid=30s ipv6=off;
# Reverse-proxy /api to the demo backend so live mode is same-origin.
# Pinned to the Cloudflare anycast IP for canvas.flow-master.ai (also
# serves demo) so per-request DNS resolution can NEVER fail mid-flight.
# 30s connect, 30s read, retry once on transient upstream failure.
location /api/ {
set $upstream_demo "https://demo.flow-master.ai";
proxy_pass $upstream_demo;
@@ -36,9 +39,15 @@ server {
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_ssl_server_name on;
proxy_ssl_name demo.flow-master.ai;
proxy_http_version 1.1;
proxy_connect_timeout 8s;
proxy_send_timeout 30s;
proxy_read_timeout 30s;
proxy_buffering off;
proxy_next_upstream error timeout http_502 http_503 http_504;
proxy_next_upstream_tries 3;
proxy_next_upstream_timeout 10s;
}
# In-cluster LLM proxy. Returns 503 when no provider key is configured,