[PATCH] Mail: added support for SSL client certificate

2014-01-25 Thread Filipe da Silva
# HG changeset patch # User Franck Levionnois flevionnois at gmail.com # Date 1390577176 -3600 # Fri Jan 24 16:26:16 2014 +0100 # Node ID 9dc48eeb8e5cb022676dbbe56e3435d20e822ab3 # Parent a387ce36744aa36b50e8171dbf01ef716748327e Mail: added support for SSL client certificate. Add support

Re: : [PATCH 0 of 1] Mail: add support for SSL client certificate

2014-01-25 Thread Filipe Da Silva
Hi, and Salut Franck ;) I just fix the typo, indentation, white space, empty lines mistakes, I have seen. I'have been working on this patch with Franck, as part of my last job. Filipe Da Silva 2014/1/25 nginx-devel-requ...@nginx.org: -- Message: 2 Date:

Re: Using 2 intersection of conditions for proxy_cache_bypass (avoiding logical if/and)

2014-01-25 Thread Jonathan Kolb
You can chain two maps to get a logical and: map $request_method $is_get { default 0; GET 1; } map $http_cache_bypass $bypass_cache { default $is_get; 0; } proxy_cache_methods POST; proxy_cache_bypass $bypass_cache; # note the lack of : after default in the maps, it's incorrect to

Nginx and cgit - upstream prematurely closed FastCGI stdout

2014-01-25 Thread Lars
I'm trying to setup cgit 0.10 with nginx 1.2.1-2.2 and fastcgi 1.0.3-3. Unfortunately the reponse is a 502. The following message is written in the error.log: [error] 30956#0: *1 upstream prematurely closed FastCGI stdout while reading response header from upstream, client: **, server: **,

Re: Using 2 intersection of conditions for proxy_cache_bypass (avoiding logical if/and)

2014-01-25 Thread Jeroen Ooms
On Sat, Jan 25, 2014 at 5:24 AM, Jonathan Kolb kolbyj...@gmail.com wrote: You can chain two maps to get a logical and: Thank you, this is precisely what I needed. # note the lack of : after default in the maps, it's incorrect to have it there like your original map did Good catch, thanks.

Re: proxy_cache_methods OPTIONS;

2014-01-25 Thread Jeroen Ooms
On Fri, Jan 24, 2014 at 11:42 PM, wishmaster artem...@ukr.net wrote: What is your proxy_cache_methods value? I tried both proxy_cache_methods OPTIONS; as well as proxy_cache_methods GET HEAD OPTIONS; but both gave the error. ___ nginx