浏览代码

HUE-6546 [core] Automatically configure Hue Account Lock to not use Load Balancer's IP

Jenny Kim 8 年之前
父节点
当前提交
6e1fe35
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/src/desktop/conf.py

+ 1 - 1
desktop/core/src/desktop/conf.py

@@ -918,7 +918,7 @@ AUTH = ConfigSection(
       key="behind_reverse_proxy",
       help=_("If True, it will look for the IP address from the header defined at reverse_proxy_header."),
       type=coerce_bool,
-      default=False,
+      dynamic_default=is_lb_enabled,
     ),
     REVERSE_PROXY_HEADER = Config(
       key="reverse_proxy_header",