带有aws elb和varnish的无限循环 - apache重定向301

时间:2013-11-10 06:07:11

标签: apache varnish amazon-elb

我们在AWS ELB前面有清漆和apache,对于每个https重定向,我们在apache日志中看到“无限循环”错误 -

[Sun Nov 10 03:06:36 2013] [error] [client 127.0.0.1] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: https://www.*******.com/login?service=https%3A%2F%2Fwww.anaplan.com%

1 个答案:

答案 0 :(得分:0)

要修复,我们必须在我们的清漆配置中添加它 -

sub vcl_hash {
hash_data(req.url);
hash_data(req.http.X-Forwarded-Proto);
return(hash);
}

干杯,

Reigner S. Yrastorza