Skip to content

Instantly share code, notes, and snippets.

@devgnx
Last active August 29, 2016 14:47
Show Gist options
  • Save devgnx/a5e2480a2e7a065513bfd433d296bfb7 to your computer and use it in GitHub Desktop.
Save devgnx/a5e2480a2e7a065513bfd433d296bfb7 to your computer and use it in GitHub Desktop.
How do I enable PHP’s flush() with nginx+PHP-FPM?
# Upgrade your nginx server {} config:
fastcgi_keep_conn on;
fastcgi_buffering off;
proxy_buffering off;
gzip off;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment