Files
nginx-proxy-manager/backend
addielarue 9aa7fd5722 fix(stream): bracket IPv6 forward host for valid nginx upstream
A Stream Host with an IPv6 address as the Forward Host was accepted and
saved but never activated. The generated stream config rendered
`proxy_pass {{ forwarding_host }}:{{ forwarding_port }}` as e.g.
`fe80::528:3c87:e7bb:ab08:25`, which nginx rejects with
"invalid port in upstream" because an IPv6 literal must be wrapped in
square brackets before the port is appended (`[fe80::...]:25`).

Normalize the stream forward host in generateConfig (alongside the existing
per-host-type data massaging) using net.isIPv6(), so IPv6 hosts render as
`[address]:port` while IPv4 addresses and hostnames are emitted unchanged.
The mutation is applied to the deep-copied render object, so persisted and
audit data are unaffected.

Fixes #5740
2026-07-25 22:55:58 +10:00
..
2026-05-27 07:25:24 +10:00
2026-05-13 13:40:06 +10:00
2026-05-25 07:37:24 +10:00
2026-05-25 07:37:24 +10:00
2026-03-03 08:44:42 +10:00
2025-10-02 08:10:18 +10:00
2026-06-04 15:08:31 +02:00
2025-10-02 08:10:18 +10:00