Hello!
On Tue, Dec 30, 2014 at 06:58:51AM -0500, shmulik wrote:
> Thank you.
>
> So if i understood correctly:
>
> When i bind an ipv6 address, and the resolver returns 1 ipv4 address and 1
> ipv6 address - if the first attempted address is the ipv4 address, the
> result will be an error + send
Hello!
On Fri, Jan 02, 2015 at 04:13:40PM +0100, Ivan Vilata i Balaguer wrote:
[...]
> BUT if I configure NginX with ``proxy_pass http://internal_machine;``,
> it always insists in using the IPv4 address first, regardless of what
> ``gai.conf`` says. The only way I have to force IPv6 first is
>
Happy New Year too!
On Thu, Jan 1, 2015 at 8:06 AM, itpp2012 wrote:
> And may your nginx keep performing no matter which OS it's running on !
>
> Also from the support staff at the forums and all contributors have a good
> one !
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,2559
I found soemthing that I think works, but it feels very hackish:
location ~ ^/([a-zA-Z0-9\-]+)/ {
error_page 418 = @apache; #proxy pass
recursive_error_pages on;
if ($arg_nc = 1) {
return 418;
}
try_files /cache/$1.html @apache;
}
Is this the best (o
Hi
I am using this code to limit requests and exclude some ip's"
http {
limit_req_zone $limit zone=delta:8m rate=60r/s;
geo $limited {
default 1;
192.168.45.56/32 0;
199.27.128.0/21 0;
173.245.48.0/20 0;
}
map $limited $limit {
1 $binary_remote_addr;
0 "";
}
And this on the domain config:
s
> It would need testing, and it does depend on what is in the
> "apache-pass"
> file, but presuming that it does do "proxy_pass" and does not do
> anything
> that is invalid in an "if in location", then
>
> >location ~ ^/([a-zA-Z0-9\-]+)/ { #Use cache if possible, then
> proxy pass
>
>