Maybe ngx_geo_module could help you, it's comes built-in with nginx and
doesn't need re-compilation.
http://nginx.org/en/docs/http/ngx_http_geo_module.html
On Wed, Jun 18, 2014 at 11:51 AM, Kurt Cancemi
wrote:
> Hello,
>
> There is no way to do this with the packages from nginx.org, without
>
Hello,
There is no way to do this with the packages from nginx.org, without
recompiling nginx, with the --with-http_geoip_module build flag. Unless you
do it on another level (e.g. with the geoip php extension) which I am
assuming you don't want. You could set up your own repo.
---
Kurt Cancemi
h
You are wanting to multi-purpose a production env for dev without proper
parameters in ur setup.
Set a system to use as ur test client requesting http, setup an if statement
and match proper fields and proxy_pass proxyA or proxy_pass proxyB
Id setup the more specific match on top
Only an idea,
That's almost perfect, except I don't have enough access to the development
environment to get it installed.
Eric
On Tue, Jun 17, 2014 at 5:27 PM, Yichun Zhang (agentzh)
wrote:
> Hi
>
> On Tue, Jun 17, 2014 at 3:09 PM, Eric Feldhusen wrote:
> > I'm looking for a way to mirror my production sit
Could traffic surges do that too ? Such as after i leave php running for a
while it seems to not take as long to load ?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,250964,250979#msg-250979
___
nginx mailing list
nginx@nginx.org
http://mail
We have just started to work with Nginx and have installed by adding the
nginx repositry to our debian 7 installs. It works almost perfectly out of
the box as such. However we need to add GeoIP support, so the question is
what is the best method of doing this. I really don't want to compile our
ow
Hi Folks,
I'm trying to integrate a python backend into a pre-existing php
website, and am having problems doing this as I need to rewrite the url
at the same time... eg: this is what isn't working.
location = /example {
rewrite /example/(.*) /$1 break;
ro
On 17 June 2014 07:49, gwilym wrote:
> The workaround is to _double_ encode so as to send back
> "image%2520with%2520spaces.jpg" to Nginx but we can't roll this out until
> Nginx 1.6 because it breaks 1.4... but we can't roll out 1.6 until the code
> is there.
I don't have a nice fix for you I'm
What logs you want me to paste PHP or Nginx ?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,250964,250973#msg-250973
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
On 18/06/2014 00:39, c0nw0nk wrote:
> I am still having the same issue read time outs. If every request made to
> the server circles the upstream then it has to be the upstream that is the
> issue not php. PHP loads are fine no crashes no errors.
What's in the logs?
Steve.
_
I am still having the same issue read time outs. If every request made to
the server circles the upstream then it has to be the upstream that is the
issue not php. PHP loads are fine no crashes no errors.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,250964,250971#msg-250971
Not a bad suggestion steve to test it i just changed my php mark to 100
processes will wait and see if i still get read time outs.
And to answer your other question about why i do not use linux.
I don't use linux because i am not very good with linux machines my
understanding and trying to get to
Hi Justin
Justin Dorfman Wrote:
---
> >
> > I use a patch
> > Maxim provided some time ago allowing range requests to receive HTTP
> 206 if
> > a resource is not in cache but it's determined to be cacheable...
>
>
> Can you please link to this
Hi
On Tue, Jun 17, 2014 at 3:09 PM, Eric Feldhusen wrote:
> I'm looking for a way to mirror my production site traffic to a development
> environment, so that I have nearly identical traffic going to both to work
> through some optimization issues that are hard to do without the load, which
> is j
I'm not sure how you'd diagnose this on windows, I had a similar issue
with php-fpm under linux as it was running out of "handlers". Could it
be that all 20 of your fastcgi processes are in use and nginx is waiting
for one to become available?
As a side note, why windows? I'm curious why you'd be
So this is going to be a bit of a long post but if i have encounterd this
issue no doubt someone else will.
Basically i keep getting read time outs or my web pages take a very long
time to load.
My server is Windows 2008 R2 64bit.
Everything runs under either System or Root
1GBPS Connection serve
I'm looking for a way to mirror my production site traffic to a development
environment, so that I have nearly identical traffic going to both to work
through some optimization issues that are hard to do without the load,
which is just incoming data.
Eric
On Tue, Jun 17, 2014 at 10:35 AM, Reini
You don't need to do anything with a dns that is only local to the clients
served by the ISP.
Suppose I am in Africa;
Question to my ISP: I'd like to go to new-york
ISP: new-york is located in south-Africa
Suppose I am in the US;
Question to my ISP: I'd like to go to new-york
ISP: new-york is loc
>>Why not use a DNS for the clients?
How i would be sure that request coming from the ISP-1 on the DNS server ?
and then point it to the local caching server? I mean i can use View
directive of BIND to route specific ips (local ISP clients) to the local
caching server and what if tomorrow the ISP h
>>Why not use a DNS for the clients?
How i would be sure that request coming from the ISP-1 on the DNS server
and then point it to the local caching server? I mean i can use View
directive of BIND to route specific ips (local ISP clients) to the local
caching server and what if tomorrow the ISP has
shahzaib1232 Wrote:
---
> i don't think the solution rdns will be suitable for us. I have
> checked the
> zebra software to make linux a BGP router
> http://www.techrepublic.com/article/use-zebra-to-set-up-a-linux-bgp-os
> pf-router/
>
> Could yo
i don't think the solution rdns will be suitable for us. I have checked the
zebra software to make linux a BGP router
http://www.techrepublic.com/article/use-zebra-to-set-up-a-linux-bgp-ospf-router/
Could you tell me if BGP is capable of doing what we want? Because our
local ISP supports this meth
shahzaib1232 Wrote:
---
> Thanks itpp but the issue is still same and still the ip is from the
> main
> server in inspect element as well as in local-caching nginx access
> logs, i
> am getting the client ip as main-server's ip instead of original
Option A and that's what I figured as well.
Depends on what you actually want to achieve by doing those 2 requests – eg
is it to prewarm 2 backend cache servers or something?
But one way to do this would be for example to use nginx Lua module
https://github.com/openresty/lua-nginx-module#ngx
On 17/06/14 16:12, Eric Feldhusen wrote:
Option A and that's what I figured as well.
If you don't care about sending the upstream response back to the
client, or want to pick one of the two responses to send back
then you can use the nginx lua module to perform some obscure
functionality... it
Option A and that's what I figured as well.
Eric Feldusen
On Tue, Jun 17, 2014 at 10:08 AM, Richard Kearsley
wrote:
> On 17/06/14 15:13, Eric Feldhusen wrote:
>
> I have a need to adjust a nginx install doing reverse proxy to a single
> server now to adjust it to send all requests it receives
On 17/06/14 15:13, Eric Feldhusen wrote:
I have a need to adjust a nginx install doing reverse proxy to a
single server now to adjust it to send all requests it receives to two
different upstream servers.
do you mean
a) send each request to both?
b) send each request to one or the other (like l
I have a need to adjust a nginx install doing reverse proxy to a single
server now to adjust it to send all requests it receives to two different
upstream servers.
I was thinking I could do it with the configuration below, but I wasn't
sure if that would work and I'd have to use re-write rules ins
Hello Nginx users,
Now available: Nginx 1.7.2 for Windows http://goo.gl/IbnbJ6 (32-bit and
64-bit versions)
These versions are to support legacy users who are already using Cygwin
based builds of Nginx. Officially supported native Windows binaries are at
nginx.org.
Announcements are also availab
Thanks itpp but the issue is still same and still the ip is from the main
server in inspect element as well as in local-caching nginx access logs, i
am getting the client ip as main-server's ip instead of original client ip
and i am sure that i am doing something wrong. Well i have another question
Changes with nginx 1.7.2 17 Jun 2014
*) Feature: the "hash" directive inside the "upstream" block.
*) Feature: defragmentation of free shared memory blocks.
Thanks to Wandenberg Peixoto and Yichun Zhang.
*) Bugfix: a segmentation fault m
On Monday 16 June 2014 23:24:39 roman_mir wrote:
> Hello everybody!
> I am a new and excited nginx user and I just had to hit a problem complex
> enough for me to post a message here hoping to get some help.
[..]
> upstream shipmaticacluster {
> server 10.0.0.10:8080;
> server 10.0.0.11:8
32 matches
Mail list logo