Re: Re[2]: How to disable PHP output buffering

2014-02-14 Thread gaspy
OK, so I modified nginx and php5-fpm to talk on port 9000 and used tcpdump to see the traffic. It looks like it worked as packets arrived at 1 second intervals (the sleep(1) in my code). However in browser it was still the same. After more testing, it turns out there's something in my computer co

Re: How to disable PHP output buffering

2014-02-12 Thread gaspy
"To ensure configuration of the PHP part is done correctly, you can dump communication between nginx and PHP." Now that sounds interesting. How can I do this? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,247451,247493#msg-247493 ___ nginx

Re: How to disable PHP output buffering

2014-02-12 Thread gaspy
I already have fastcgi_buffering off (it was in my original email). Posted at Nginx Forum: http://forum.nginx.org/read.php?2,247451,247492#msg-247492 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: How to disable PHP output buffering

2014-02-12 Thread gaspy
Well, I tried with postpone_output off anyway, no joy. I verified that gzip is actually off. I'm out of ideas Posted at Nginx Forum: http://forum.nginx.org/read.php?2,247451,247479#msg-247479 ___ nginx mailing list nginx@nginx.org http://mailman.n

How to disable PHP output buffering

2014-02-12 Thread gaspy
Hi, I know this has been asked before, but I could not find a definitive answer. I tried different solutions, nothing worked. I have a PHP script that has to do time intensive operations and provide a status update from time to time. No way around it. I built a sample PHP script: I have output_

Generating/Updating .gz files for gzip_static

2013-10-22 Thread gaspy
I'm new to nginx. I love the gzip_static option and I;ve been thinking about the best way to generate, update and delete these files. I wrote an article here: http://www.richnetapps.com/generation-of-gzip-files-for-nginx/ My method uses inotifywait. I hope it's useful and that I didn't make any

Re: SSL certificate not loaded

2013-10-16 Thread gaspy
Maxim Dounin Wrote: --- > > I have another server block just for redirect, I disabled SSL on it > but the > > problem persists. > > Here's how the other block looks like: > > > > server > > { > > listen 80; > > #listen

Re: SSL certificate not loaded

2013-10-15 Thread gaspy
> The message suggests you have another server{} listening on the > same port, without ssl_certificate defined, and it's selected > based on SNI. Hi Maxim and thanks for the quick reply. I have another server block just for redirect, I disabled SSL on it but the problem persists. Here's how the

SSL certificate not loaded

2013-10-15 Thread gaspy
I have a strange problem with SLL. I purchased a SSL cert and combined the intermediary files into one: cat www_mydomain_com.crt PositiveSSLCA2.crt AddTrustExternalCARoot.crt >> mydomain-budle.crt In the server conf I have the following: server { listen 80; lis