Need best practice on GeoIP/GeoDNS

2015-01-20 Thread Dewangga Bachrul Alam
Hi, I have project that will be used multilocation webserver, but still confuse about implementing GeoDNS or GeoIP. Which method are powerfull? I want to separate user between Country A to WebServer A, Country B to Webserver B. Each webserver are located on each country.

Re: Geoip issue with nginx in front of varnish and apache !

2015-01-20 Thread shahzaib shahzaib
Thanks for reply Francis, adding following did the trick :) set req.http.X-Forwarded-For = req.http.X-Forwarded-For; set req.http.X-GeoIP = geoip.country_code(req.http.X-Forwarded-For); Regards. Shahzaib On Wed, Jan 21, 2015 at 12:06 AM, Francis Daly wrote: > On Tue, Jan 20, 2015 at 11:38:21P

Re: Geoip issue with nginx in front of varnish and apache !

2015-01-20 Thread Francis Daly
On Tue, Jan 20, 2015 at 11:38:21PM +0500, shahzaib shahzaib wrote: Hi there, > We've compile varnish with geoip module in order to cache country based > hashes, so far varnish<-> apache structure is working fine with geoip > module and caching requests based on countries but when we add anoth

Geoip issue with nginx in front of varnish and apache !

2015-01-20 Thread shahzaib shahzaib
Hi, We've compile varnish with geoip module in order to cache country based hashes, so far varnish<-> apache structure is working fine with geoip module and caching requests based on countries but when we add another Nginx proxy layer in front of varnish i.e nginx -> varnish - apache, the geoi

Re: Custom settings with PHP

2015-01-20 Thread locojohn
Hello Maxim, Maxim Dounin Wrote: --- > As already replied in russian list, currently (going to be fixed) > this may be done only with a hack like > > geo $x { > default "${include_path}:/my/other/include/path"; > } > > fas

Re: how to limit the total header size of a request?

2015-01-20 Thread Valentin V. Bartenev
On Tuesday 20 January 2015 10:44:14 Andy wrote: > Hi guys, > > I'm looking for a configuration to limit the summarized size for the > request line and all header fields in a request? http://nginx.org/r/large_client_header_buffers > It looks " > *client_header_buffer_size* *size"* is to limit th

Re: How to adjust Cache-Control for SSI-including entities

2015-01-20 Thread Francis Daly
On Tue, Jan 20, 2015 at 11:46:36AM +0100, Jan Algermissen wrote: > On 19 Jan 2015, at 21:38, Francis Daly wrote: > > Completely untested, but, depending on how you connect to upstream, does > > "proxy_hide_header" or "proxy_ignore_headers" do what you want? > > Do you have any idea, how I can th

Re: How to adjust Cache-Control for SSI-including entities

2015-01-20 Thread Jan Algermissen
On 19 Jan 2015, at 21:38, Francis Daly wrote: > On Mon, Jan 19, 2015 at 08:44:33PM +0100, Jan Algermissen wrote: > > Hi there, > >> upstream U1 produces the main page (the one containing SSI include >> directives) and wants nginx to cache its response (the page with the >> unresolved SSI inc

Re: Ipad autodiscovery

2015-01-20 Thread itpp2012
Setup an accesspoint with raw logging and let an iphone go trough that, see what it's doing. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,256151,256210#msg-256210 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listi