【问题标题】:Infinite loop with aws elb and varnish - apache redirect 301带有 aws elb 和清漆的无限循环 - apache 重定向 301
【发布时间】:2013-11-10 06:07:11
【问题描述】:

我们的 AWS ELB 前面有 varnish 和 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%

【问题讨论】:

    标签: apache varnish amazon-elb


    【解决方案1】:

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

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

    干杯,

    雷格纳·S·伊拉斯托扎

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-05-23
      • 1970-01-01
      • 2013-12-28
      • 2016-12-07
      • 2014-03-26
      • 2013-03-13
      • 2011-03-11
      • 2021-04-15
      相关资源
      最近更新 更多