proxy_buffering off;

I need to set nginx config on NIX build.
14 Replies
Percy
Percy9mo ago
Project ID: N/A
Brody
Brody9mo ago
what kind of app are you deploying
KevinGPT-5 | Pigmo
KevinGPT-5 | PigmoOP9mo ago
nextjs app
Brody
Brody9mo ago
then nginx is not involved please tell me the issues you are running into
KevinGPT-5 | Pigmo
KevinGPT-5 | PigmoOP9mo ago
I need an NGINX proxy
Brody
Brody9mo ago
may I ask why? what issues are you running into
KevinGPT-5 | Pigmo
KevinGPT-5 | PigmoOP9mo ago
sure
KevinGPT-5 | Pigmo
KevinGPT-5 | PigmoOP9mo ago
GitHub
Stream Functionality Issues with Next.js Deployed in a Docker Conta...
Hello, I've been encountering some issues with the streaming functionality of Next.js OpenAIStream when it's deployed in a Docker container. The streaming feature works perfectly in a local...
KevinGPT-5 | Pigmo
KevinGPT-5 | PigmoOP9mo ago
It says on the nextjs docs: The Next.js App Router supports streaming responses when self-hosting. If you are using Nginx or a similar proxy, you will need to configure it to disable buffering to enable streaming. For example, you can disable buffering in Nginx by setting X-Accel-Buffering to no:
Brody
Brody9mo ago
okay but nginx isn't involved in anyway when deploying a next app, and you can't configure anything about railways proxy furthermore, railway's proxy does not buffer anyway this is not the solution you are looking for
KevinGPT-5 | Pigmo
KevinGPT-5 | PigmoOP9mo ago
trust me bro I k now but its the only one that works
Brody
Brody9mo ago
railway's proxy does not buffer railway also doesn't use nginx, and neither does your deployment
KevinGPT-5 | Pigmo
KevinGPT-5 | PigmoOP9mo ago
I'm aware ok thanks
Brody
Brody9mo ago
please look for other solutions to the issue
Want results from more Discord servers?
Add your server