Bläddra i källkod

HUE-8888 [k8s] Do not use localhost in nginx config map

Romain 5 år sedan
förälder
incheckning
ece65d4c43
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      tools/kubernetes/helm/hue/templates/configmap-nginx.yaml

+ 2 - 2
tools/kubernetes/helm/hue/templates/configmap-nginx.yaml

@@ -17,7 +17,7 @@ data:
         ## ssl_certificate_key /path/to/ssl/key;
 
         location / {
-            proxy_pass http://localhost:8888;
+            proxy_pass http://127.0.0.1:8888;
 
             # Or if the upstream Hue instances are running behind https://
             ## proxy_pass https://hue;
@@ -35,7 +35,7 @@ data:
         ip_hash;
 
         # List all the Hue instances here for high availability.
-        server localhost:8888 max_fails=3;
+        server 127.0.0.1:8888 max_fails=3;
         #server HUE_HOST2:8888 max_fails=3;
     }
 {{- end -}}