From 4c112c6652cea9e2a8e935692bfc5c56d9dd9d97 Mon Sep 17 00:00:00 2001 From: Barrysv <35910877+Barrysv@users.noreply.github.com> Date: Wed, 5 Jun 2019 03:31:20 +0800 Subject: [PATCH] Fix ipv6 issue with Nginx not redirecting to ipv4 instance of Hass (#9550) In the Nginx config rather than specifying localhost:8123 use 127.0.0.1:8123 so this will ensure incoming IPv6 requests get redirected to Hass on IPv4. "localhost:8123" means Nginx will try to connect to Hass using the same protocol that came in - and Hass doesn't do dual stack at present --- source/_docs/ecosystem/nginx.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_docs/ecosystem/nginx.markdown b/source/_docs/ecosystem/nginx.markdown index 4f4fcfa4a24..f627b9584db 100644 --- a/source/_docs/ecosystem/nginx.markdown +++ b/source/_docs/ecosystem/nginx.markdown @@ -145,7 +145,7 @@ server { proxy_buffering off; location / { - proxy_pass http://localhost:8123; + proxy_pass http://127.0.0.1:8123; proxy_set_header Host $host; proxy_redirect http:// https://; proxy_http_version 1.1;