-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Description
As of updating to nginx-proxy version 0.9.1 it is no longer possible to set a VIRTUAL_HOST
corresponding to a raw ipv6 address.
When attempting this, the entire nginx proxy configuration errors out and falls back to the default error page:
Welcome to nginx!
If you see this page, the nginx web server is successfully installed and working.
Further configuration is required.
The logs show the following error message:
nginx-proxy_1 | 2021/07/14 15:02:32 [emerg] 52#52: invalid host in upstream "[2001:638:(rest of ipv6 address censored)]-upstream" in /etc/nginx/conf.d/default.conf:108
nginx-proxy_1 | nginx: [emerg] invalid host in upstream "[2001:638:(rest of ipv6 censored)]-upstream" in /etc/nginx/conf.d/default.conf:108
I rolled back to 0.9.0 and confirmed the issue does not occur there.
I suspect the culprit is #1163, as []
-bracketed ipv6 addresses do not seem to be valid upstream names when adding an upstream
suffix.
Metadata
Metadata
Assignees
Labels
No labels