fix(nginx): enable HTTP/2, fix push/stream location, disable request buffering
- listen 443 ssl http2 — enables HTTP/2 negotiation via ALPN; without this nginx only accepts HTTP/1.1 even over TLS, causing bidirectional streaming to fail (muse push uses httpx with http2=True) - push location pattern now matches /push/stream in addition to /push and /push/objects — previously /push/stream fell through to the 60s default - proxy_request_buffering off + proxy_buffering off on push location — nginx streams the request body to uvicorn immediately instead of buffering the entire upload first, enabling true bidirectional streaming - deploy.sh step 0: syncs nginx-cf.conf to instance on every deploy and reloads nginx if config changed (safe no-op when unchanged) - push.sh: also base64-syncs nginx-cf.conf to instance alongside deploy.sh
0 comments
muse hub commit comment sha256:edb21864b55adab9d6903aa1f5c5cb74c0e989ff8b62feb00c92299314b0e58c --body "your comment"
No comments yet. Be the first to start the discussion.