Simple NGNIX Config
rakhimovkamran
PROOP

2 years ago

Hello Railway, I have a question about setting up nginx.

I have simple backend using node.js, no docker and etc.

I need to just set this config

proxy_buffering off;
proxy_cache off;
chunked_transfer_encoding off;

Thanks for the answers !

3 Replies

2 years ago

Railway does not use NGINX and neither does your NodeJS deployment, please provide more information as to why this is needed?


rakhimovkamran
PROOP

2 years ago

Hello, thanks for the answer. My backend works with ChatGPT, and I want to get chunked response from backend, using EventSource, currently it send the whole data, instead of splitting the response in chunks.


2 years ago

I assure you that would not be due to any platform configurations, Railway's proxy does not buffer anything.


Loading...