Issue with Upstream servers & GeoIP

2014-03-25 Thread Alex
I am diverting traffic from one specific country (XX) to a specific APP server (Server for country XX) using an upstream definition and geoip. See definition below. Everything works well except when people who live in country XX try to access information that is hosted in the other server - this i

Re: Setting up nginx as Visual Studio 2010 project

2014-03-25 Thread VernJensen
This is almost a year later, but I've written up additional details on how to create a Visual Studio project for nginx. http://stackoverflow.com/questions/21486482/compile-nginx-with-visual-studio/22649559#22649559 Given that I'm not an advanced unix user, I had to figure a number of things out

Location directive not working

2014-03-25 Thread Alex
I set up two upstream servers (server 1 and server 2) where I geotarget people from specific countries: A People from country A go to server 1 and the others go to server 2. There are some uri s that must be served by server 1 when the person is in country A. So I have created this directive. It

Re: Nginx forum returns 502 (2014-03-25T08:13Z)

2014-03-25 Thread Jonathan Matthews
On 25 March 2014 21:17, Jim Ohlstein wrote: > [what does] that "T08:13Z" mean The Z suffix indicates UTC, as per section 2 of http://www.ietf.org/rfc/rfc3339.txt. HTH, Jonathan -- Jonathan Matthews Oxford, London, UK http://www.jpluscplusm.com/contact.html _

RE: moving servers... https woes.

2014-03-25 Thread Lukas Tribus
Hi, > Mainly because I can't seem to get it to work - nginx, apache or > iptables. > > I'm sure someine can come forward with technical reasons why... In this thread you asked about how this could be done, you didn't say that you already tried something and that it didn't work. So you are hopin

Re: Nginx forum returns 502 (2014-03-25T08:13Z)

2014-03-25 Thread Jim Ohlstein
Hello, On 3/25/14, 4:57 PM, B.R. wrote: Hello, Still down from my side. I do not have cache anywhere, since my browser purges it on every shutdown. If you look at your frontend logs around the time I specified in the subject, you should notice some 502 being thrown. Do you really need my IP add

Re: Nginx forum returns 502 (2014-03-25T08:13Z)

2014-03-25 Thread B.R.
Attachment, attachment... --- *B. R.* http_exchange Description: Binary data ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx forum returns 502 (2014-03-25T08:13Z)

2014-03-25 Thread B.R.
Hello, Still down from my side. I do not have cache anywhere, since my browser purges it on every shutdown. If you look at your frontend logs around the time I specified in the subject, you should notice some 502 being thrown. Do you really need my IP address? Any 502 you would find under whatever

RE: moving servers... https woes.

2014-03-25 Thread Steve Holdoway
On Tue, 2014-03-25 at 16:29 +0100, Lukas Tribus wrote: > Hi, > > > > Sadly not quite. The change in IP means that the eCommerce part of the > > site must be served through https:, but there seems to be a terrible lag > > - even though TTL has been set to 5 minutes for weeks - for customers in >

Nginx POST handler module caching response

2014-03-25 Thread Mapper Uno
Hi, I have written a small nginx module that processes POST request and sends back in response the same data that is received in POST request. I am testing this with curl utility and closely monitoring nginx log which is set to debug level. (My module's server is listening on port 9000) # curl -

Re: Nginx forum returns 502 (2014-03-25T08:13Z)

2014-03-25 Thread Jim Ohlstein
Hello, On 3/25/14, 10:27 AM, Sarah Novotny wrote: On Mar 25, 2014, at 1:14 AM, B.R. mailto:reallfqq-ng...@yahoo.fr>> wrote: http://forum.nginx.org/ fails to return proper content. It looks like it was transient or Jim fixed it up. Thanks for the report! There was a segmentation fault in

RE: moving servers... https woes.

2014-03-25 Thread Lukas Tribus
Hi, > Sadly not quite. The change in IP means that the eCommerce part of the > site must be served through https:, but there seems to be a terrible lag > - even though TTL has been set to 5 minutes for weeks - for customers in > picking the change up. > > This means that the old IP address needs

Re: Nginx forum returns 502 (2014-03-25T08:13Z)

2014-03-25 Thread Sarah Novotny
On Mar 25, 2014, at 1:14 AM, B.R. wrote: > http://forum.nginx.org/ fails to return proper content. It looks like it was transient or Jim fixed it up. Thanks for the report! sarah ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mai

duplicating post request with nginx proxy

2014-03-25 Thread Yuri Levin
i have an app that sends a post request to nginx proxy server, can i forward same request to two different upstream servers? (e.g. duplicating the same post request) can it be achieved with nginx? thanks. ___ nginx mailing list nginx@nginx.org http://ma

Re: AAAA record for nginx.org ?

2014-03-25 Thread Nick Thomas
Hi, On 25/03/14 11:33, Sergey Budnevitch wrote: > > On 24 Mar 2014, at 20:31, Nick Thomas wrote: > >> Hi there, >> >> I recently had cause to (try to) install Nginx from the Debian >> repositories hosted at http://nginx.org (i.e., >> http://nginx.org/packages/mainline/debian/dists/wheezy/ ) on

Re: AAAA record for nginx.org ?

2014-03-25 Thread Sergey Budnevitch
On 24 Mar 2014, at 20:31, Nick Thomas wrote: > Hi there, > > I recently had cause to (try to) install Nginx from the Debian > repositories hosted at http://nginx.org (i.e., > http://nginx.org/packages/mainline/debian/dists/wheezy/ ) on a set of > machines which have IPv6-only connectivity. This

Re: map v/s rewrite performance

2014-03-25 Thread rahul286
Igor Sysoev Wrote: --- > location = old-url-1 { return 301 new-url-1; } Bingo! Never thought of this. :-) We will use this for https://github.com/rtCamp/easyengine/issues/162 Thanks a lot. :-) Posted at Nginx Forum: http://forum.nginx.org/rea

Re: map v/s rewrite performance

2014-03-25 Thread Igor Sysoev
On Mar 25, 2014, at 12:12 , rahul286 wrote: > Hi All, > > I am just wondering, say for 1000 url redirects, what will be more > efficient. > > Rewrite Style: > > server { > rewrite old-url-1 new-url-1 permanent; > rewrite old-url-2 new-ur

Nginx forum returns 502 (2014-03-25T08:13Z)

2014-03-25 Thread B.R.
http://forum.nginx.org/ fails to return proper content. --- *B. R.* ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

map v/s rewrite performance

2014-03-25 Thread rahul286
Hi All, I am just wondering, say for 1000 url redirects, what will be more efficient. Rewrite Style: server { rewrite old-url-1 new-url-1 permanent; rewrite old-url-2 new-url-2 permanent; rewrite old-url-3 new-ur