14 Replies
Project ID:
N/A
what kind of app are you deploying
nextjs app
then nginx is not involved
please tell me the issues you are running into
I need an NGINX proxy
may I ask why? what issues are you running into
sure
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...
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:
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
trust me bro
I k now
but its the only one that works
railway's proxy does not buffer
railway also doesn't use nginx, and neither does your deployment
I'm aware
ok thanks
please look for other solutions to the issue