Piwik conf file

2013-08-19 Thread Paul N. Pace
I have recently discovered this wonderful includes directive and I am using it to clean up my server blocks. Doing this has forced me to evaluate some of my configurations. I am trying to set up a conf file for Piwik installations and I'm hoping a second set of of eyes can help: location /piwik/

Proxying requests based on $http_authorization (API Key)

2013-08-19 Thread justin
Hello. We are looking to proxy requests to different backends using upstream based on http basic auth. I.E. the API key of the request. I am thinking I need to first get the API key from the raw http request ($http_authorization). Then do a lookup in redis for the backend to forward too. We are a

RE: nginx 1.4.1 - slow transfers / connection resets

2013-08-19 Thread Lukas Tribus
Hi, >   % Total    % Received % Xferd  Average Speed   Time    Time Time  >Current >  Dload  Upload   Total   Spent    Left  Speed > 100 1196k    0 1196k    0   343   2047  0 --:--:--  0:09:58 --:--:--  1888 > curl: (56) Recv failure: Connection reset by p

Re: How to turn off gzip compression for SSL traffic

2013-08-19 Thread B.R.
On Mon, Aug 19, 2013 at 2:04 AM, Igor Sysoev wrote: > ​Incorrect. > > CRIME attacks a vulnerability in the implementation of SSLv3 and TLS1.0​ > using CBC flaw: the IV was guessable. Hte other vulnerability was a > facilitator to inject automatically ​arbitrary content (so attackers could > injec

Re: nginx 1.4.1 - slow transfers / connection resets

2013-08-19 Thread Maxim Dounin
Hello! On Mon, Aug 19, 2013 at 02:07:09PM +0200, Philip Hofstetter wrote: > Hi, > > I have a nginx (stock ubuntu config) as a reverse proxy in front of a > haproxy in front of 5 more nginx machines which use fastcgi to talk to > php-fpm. > > My issue is with the frontend proxy and long-running

nginx 1.4.1 - slow transfers / connection resets

2013-08-19 Thread Philip Hofstetter
Hi, I have a nginx (stock ubuntu config) as a reverse proxy in front of a haproxy in front of 5 more nginx machines which use fastcgi to talk to php-fpm. My issue is with the frontend proxy and long-running, very slow requests. The clients are very underpowered mobile barcode scanners u

Re: ssl_cipher for mail not working

2013-08-19 Thread Maxim Dounin
Hello! On Mon, Aug 19, 2013 at 06:04:49AM -0400, MKl wrote: > Maxim Dounin Wrote: > --- > > Looks like the problem fixed by this changeset: > > > > http://trac.nginx.org/nginx/changeset/32fe021911c9/nginx > > > > Should work fine in nginx 1.5.

Re: ssl_cipher for mail not working

2013-08-19 Thread MKl
Maxim Dounin Wrote: --- > Looks like the problem fixed by this changeset: > > http://trac.nginx.org/nginx/changeset/32fe021911c9/nginx > > Should work fine in nginx 1.5.1+. Hi Maxim, thanks for your answer! I will try this later. Will this als

Re: Sub-domain filtering

2013-08-19 Thread Jonathan Matthews
On 19 Aug 2013 07:05, "ronin" wrote: > > I am using the statement is: > if ($ host! = www.mj.com|ci.mj.com) {rewrite ^ / (. *) $ http://www.mj.com/ > $ 1 permanent;} > This page contains a redirect loop occurs causing the problem can not access > the site, I ask you how to handle this statement to