We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Related: #938
My host's /etc/resolv.conf looks like this:
/etc/resolv.conf
# Generated by NetworkManager search mydomain.net nameserver 192.168.1.1 nameserver fe80::728b:cdff:fe86:a470%enp2s0 nameserver 2601:some:vlid:ipv6:addr::1
Which gets copied into the container. Because of this:
nginx-proxy/docker-entrypoint.sh
Lines 22 to 23 in 3cbc541
nginx.conf
When nginx loads it, it fails, and enters a restart loop:
dockergen.1 | 2020/04/19 19:19:15 Running 'nginx -s reload' dockergen.1 | 2020/04/19 19:19:15 Error running notify command: nginx -s reload, exit status 1 nginx.1 | 2020/04/19 19:19:46 [emerg] 31#31: invalid IPv6 address in resolver "[fe80::728b:cdff:fe86:a470%enp2s0]" in /etc/nginx/conf.d/default.conf:36
It seems that nginx can't use an address of the form [ipv6%interface].
[ipv6%interface]
I have a work around like so:
export RESOLVERS=$(echo ${RESOLVERS} | sed 's/\[[a-f0-9:]*\%[a-zA-Z0-9]*\] //')
which removes the entry entirely. But maybe there is a way to fix it without removing it?
The text was updated successfully, but these errors were encountered:
fa3962e
No branches or pull requests
Related: #938
My host's
/etc/resolv.conf
looks like this:Which gets copied into the container.
Because of this:
nginx-proxy/docker-entrypoint.sh
Lines 22 to 23 in 3cbc541
they get copied into the
nginx.conf
When nginx loads it, it fails, and enters a restart loop:
It seems that nginx can't use an address of the form
[ipv6%interface]
.I have a work around like so:
which removes the entry entirely. But maybe there is a way to fix it without removing it?
The text was updated successfully, but these errors were encountered: