499s and repeated requests

2013-11-06 Thread njvack
So, I'm running a rather standard nginx -> unicorn -> rails application, all over HTTPS. Recently, I started looking into some strange load bursts (which have been going on for a while but are getting more important), and saw repeated requests (both GET and POST) in my access logs, all getting a 49

[ANN] ngx_openresty mainline version 1.4.3.3 released

2013-11-06 Thread Yichun Zhang (agentzh)
Hello guys! I am happy to announce that the new mainline version of ngx_openresty, 1.4.3.3, is now released: http://openresty.org/#Download Special thanks go to all the contributors for making this happen! Below is the complete change log for this release, as compared to the last (mainline)

Re: Define a proxy for Nginx

2013-11-06 Thread António P . P . Almeida
As for the first point, of course that variable needs to be used on the application side. The OP suggested that is cased since he described basically that with the Apache env var directive. As for the second, I was not considering security issues, but: 1. You need to be able to edit the php-fpm

Re: Define a proxy for Nginx

2013-11-06 Thread Jonathan Matthews
On 5 November 2013 15:25, António P. P. Almeida wrote: > Assuming you're using php-fpm or php-cgi you can set a param to pass that as > a server variable: > > fastcgi_param HTTP_PROXY 'http://proxy:myport'; > > Then you'll have a $_SERVER['HTTP_PROXY'] entry for the global $_SERVER. I don't think

Nginx 1.2.7 + Apache2 2.2.24 on Freebsd 9.1 speedtest mini hosting upload speed problem

2013-11-06 Thread ans34
I have Nginx 1.2.7 + Apache2 2.2.24. Nginx config is default, no buffer sizes changed etc. I moved my speedtest mini host there and got problem with upload speed. Speedtest folder is on RAMdisk, so there is no problems with access speed and download speed is 300+ Mbit/s. But upload was anly 40-50 M