4 ms·
"One thing that always surprises me is seeing configurations where Nginx is merely a proxy or load balancer into a bunch of Apache instances. Are you nuts? Stop
by velodrome 14y ago
"One thing that always surprises me is seeing configurations where Nginx is merely a proxy or load balancer into a bunch of Apache instances. Are you nuts? Stop doing that. Just use Nginx and FastCGI -- thank me later."
Problem is - you can't flush the output buffer.
- nnq 14y agoIsn't there a known fix for this for like a year or so? (http://www.justincarmony.com/blog/2011/01/24/php-nginx-and-output-flushing/ http://www.justincarmony.com/blog/2011/01/24/php-nginx-and-o...)
- velodrome 14y agoIt is only a 1k chunk. This sucks for chat-type applications (<1k per message) and slow apps. Also, in that example, you can't use gzip. If I use a nginx+apache setup, I can do output flushing and gzip. I hope nginx fixes this issue. *This affects php/fcgi.
- nnq 14y agoNice to know! Thanks for clarifying.