Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wellington1993/728b28170cc36c36b18b9595c1ae9a3a to your computer and use it in GitHub Desktop.
Save wellington1993/728b28170cc36c36b18b9595c1ae9a3a to your computer and use it in GitHub Desktop.
Curl Rails Nginx transfer closed wittanding read data remaining
# Nginix Conf
# "proxy_buffering off;" is the secret :-)
location / {
proxy_buffering off; # This line solved the problem
proxy_pass http://127.0.0.1:3010;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment