Re: HTTP/2 Issues

2015-11-12 Thread Matthias Rieber
Hi! On Thu, 12 Nov 2015, Valentin V. Bartenev wrote: > On Thursday 12 November 2015 19:17:37 Valentin V. Bartenev wrote: > > On Thursday 12 November 2015 00:37:36 DrDinosaur wrote: > > > Hi, > > > > > > I was having a few issues with HTTP/2 requests. Some files and images > > > aren't > > > loa

Re: HTTP/2 Issues

2015-11-11 Thread Matthias Rieber
Hello! On Thu, 12 Nov 2015, DrDinosaur wrote: > Hi, > > I was having a few issues with HTTP/2 requests. Some files and images aren't > loading on Chrome. I filed a bug report and documented the issue extensively > here: https://code.google.com/p/chromium/issues/detail?id=553282 I had similar a

map with two variables

2015-03-09 Thread Matthias Rieber
Hi, I'd like to set a variable to the value of $host where the dots are replaced by underscore. My first idea: map $host $graphite_host { "~(?P[^.]*)\.(?P[^.]*)\.(?P[^.]*)" $a_$b_$c; } But I can't use more than one variable in the result. $a or $b would work, but not $a_$b or $a$b. I alway

Re: Return JSON for 404 error instead of html

2014-05-13 Thread Matthias Rieber
On Mon, 12 May 2014, Lord Nynex wrote: Justink101, Using the echo module error_page 404 @404; location @404 { echo '{"status": "Not Found"}'; } if your using proxy_pass, don't forget: proxy_intercept_errors on; Matthias ___ nginx mailing list ng

ssl_prefer_server_ciphers vs. Android

2014-05-01 Thread Matthias Rieber
Hi, I've configured ssl with the following options: ssl_dhparam /etc/nginx/pem/dhparam2048.pem; ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:D