فهرست منبع

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",