Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx代理时流式输出的问题 #29

Closed
limi1 opened this issue Apr 5, 2023 · 1 comment
Closed

nginx代理时流式输出的问题 #29

limi1 opened this issue Apr 5, 2023 · 1 comment

Comments

@limi1
Copy link

limi1 commented Apr 5, 2023

修改nginx配置信息即可实现流式输出。
Java后台已经实现了流式输出,数据到nginx 的时候进行了一次缓存,这时就需要关闭nginx的缓冲流。
如下:
http{
server{
xxxx xxx;
proxy_buffering off;
xxx xxxx;
}
}

@hncboy
Copy link
Owner

hncboy commented Apr 6, 2023

感谢。

@hncboy hncboy closed this as completed Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants