From 804f47f7abbcf22dd719a5df69bfc93b0803cd20 Mon Sep 17 00:00:00 2001 From: Marco Ochse Date: Tue, 26 Jun 2018 10:19:35 +0200 Subject: [PATCH] Fix IPv6 error fix an error where upstream site is not found while trying to connect with both IPv4 and IPv6. Setting `localhost` to `127.0.0.1` fixes it. --- docker/nginx/dist/conf/tpotweb.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/nginx/dist/conf/tpotweb.conf b/docker/nginx/dist/conf/tpotweb.conf index 5dc71ec5..b9f3cc68 100644 --- a/docker/nginx/dist/conf/tpotweb.conf +++ b/docker/nginx/dist/conf/tpotweb.conf @@ -90,19 +90,19 @@ server { ### Kibana location /kibana/ { - proxy_pass http://localhost:64296; + proxy_pass http://127.0.0.1:64296; rewrite /kibana/(.*)$ /$1 break; } ### ES location /es/ { - proxy_pass http://localhost:64298/; + proxy_pass http://127.0.0.1:64298/; rewrite /es/(.*)$ /$1 break; } ### head standalone location /myhead/ { - proxy_pass http://localhost:64302/; + proxy_pass http://127.0.0.1:64302/; rewrite /myhead/(.*)$ /$1 break; }