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

用方式一配置了也不能流式输出呀 #13

Closed
liusenlei opened this issue Jun 8, 2023 · 4 comments
Closed

用方式一配置了也不能流式输出呀 #13

liusenlei opened this issue Jun 8, 2023 · 4 comments

Comments

@liusenlei
Copy link

能不能告知一下nginx应该如何配置呢
location /api {
rewrite ^/api/?(.*)$ /$1 break;
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_pass 代理地址;
}

@mjjh1717
Copy link
Owner

mjjh1717 commented Jun 8, 2023

方式一仅针对项目在vercel上部署的情况,服务器上nginx请参考后台历史中issue的回答

@liusenlei
Copy link
Author

方法一仅针对项目在vercel上部的情况,服务器上nginx请参考后台历史中issue的回答
没有找到其他的issue回答呀

@liusenlei
Copy link
Author

可以提供一下其他的issue吗

@hncboy
Copy link
Collaborator

hncboy commented Jun 9, 2023

hncboy/ai-beehive#71

@hncboy hncboy closed this as completed Jul 16, 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

3 participants