mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
IPv6 Fix
If is IPv6 enabled, then localhost is resolved as [::1] 2025/06/15 19:24:19 [error] 431#431: *8575 connect() failed (111: Connection refused) while connecting to upstream, client: 172.30.32.2, server: netalertx, request: "GET / HTTP/1.1", upstream: "http://[::1]:20211/", host: "http://homeassistant.local/", referrer: "https:/homeassistant.local:48123/db21ed7f_netalertx_fa"
This commit is contained in:
@@ -6,7 +6,7 @@ server {
|
||||
include /etc/nginx/includes/proxy_params.conf;
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:20211/;
|
||||
proxy_pass http://127.0.0.1:20211/;
|
||||
rewrite ^%%ingress_entry%%/?(.*)$ /$1 break;
|
||||
sub_filter_once off;
|
||||
sub_filter_types *;
|
||||
|
||||
Reference in New Issue
Block a user