nomadro/deploy/work/nginx-work-api.conf
Eric ffa456afdf Ship social join profile + SeaweedFS avatars, notify/coffee, and .com audience stack.
Pay-then-profile join desk with live card, S3 upload fallback, hydration-safe drafts; document on test9 README.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-04 02:25:05 +08:00

14 lines
526 B
Plaintext

# Nomadro work_svc — include inside HTTPS server BEFORE location /
# Same-origin /api/work/v1 → FastAPI :8021 (do not route via Next; avoids Connection: upgrade break)
location ^~ /api/work/ {
proxy_pass http://127.0.0.1:8021;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 60s;
add_header Cache-Control "no-store";
}