Nginx 代理转发 SSE

后端 · 2023-10-27
    location /chat {
        proxy_set_header Connection "";
        proxy_http_version 1.1;
        chunked_transfer_encoding off;
        proxy_buffering off;
        proxy_cache off;
        proxy_read_timeout 1h;
        proxy_pass http://xxx.xx/path/to/sse;
    }
Nginx代理 SSE
Theme Jasmine by Kent Liao