Explorar o código

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

Jenny Kim %!s(int64=8) %!d(string=hai) anos
pai
achega
6e1fe35
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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",