Re: geoip variables evaluation vs map

2017-05-05 Thread Maxim Dounin
Hello! On Fri, May 05, 2017 at 08:27:34AM -0400, beatnut wrote: > Hello! > When using variables via map directive they are evaluated when they are > used. > My question is if variables from geoip module like $geoip_country_code are > evaluated only when they are used, like map or every time?

geoip variables evaluation vs map

2017-05-05 Thread beatnut
Hello! When using variables via map directive they are evaluated when they are used. My question is if variables from geoip module like $geoip_country_code are evaluated only when they are used, like map or every time? Posted at Nginx Forum:

Nginx rewrite rules codeigniter

2017-05-05 Thread Antonio González
I have an application in codeigniter. This same application has a common code made in codeigniter and then distributed in subdirectories each of which has a configuration, but all pull the same common code. The problem I have is that the application used to run in apache and everything works

Re: [ANN] OpenResty 1.11.2.3 released

2017-05-05 Thread Maxim Konovalov
Hi Yichun, On 22/04/2017 04:31, Yichun Zhang (agentzh) wrote: > Hi folks, > > Long time no releases. We've been very busy setting up the OpenResty > Inc. commercial company in the US. That's why we've been quiet in the > last few months. The good news is that we now have a strong full-time >

Return Specific Error Page in NGinX when all the upstream servers are marked down

2017-05-05 Thread shivramg94
I have an upstream block as follows upstream sample{ server abc1.example.com down; server abd2.example.com down; } Currently I get a 502 error. In this special case where I receive a 502 and all upstream servers are down I would like a receive a specific error page as temporarily

New variable $ssl_raw_handshake

2017-05-05 Thread Benny Baumann
Hi, in course of building up a dataset of mappings of User-Agents and their common SSL ClientHello messages[1] I started to implement a small patch to nginx 1.13.0 mainline to implement a small transcript of the handshake process similar to the one enabled in openssl s_client -msg. The format of