-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
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
nginx: also listen on ipv6 #34
Conversation
Don't see why not, defer to Manuel. Do we really need all 4 listen directives? |
Coverage remained the same at 40.231% when pulling 73a4ec4e5b6332e19a8e3b18e5afe5c2b3654c50 on euank:nginx-ipv6ish into d1fb96a on kubernetes:master. |
@euank what happens if the ipv6 is not enabled? can you test what happens if only |
@aledbf I don't have a kernel without CONFIG_IPV6 handy, but even if ipv6 is turned off via When I had only |
I think Manuel was asking to verify that this isn't required https://codinginthetrenches.com/2013/12/14/nginx-ipv6only-setting-gotcha/ |
With both (as it is now), I don't think I need that setting. I'll see if I'll do some testing today or tomorrow and report back |
@euank any update on this? |
This allows a brave user to run this in host networking mode and support ipv6.
Thanks for the ping, I just now got back to this. I ended up hitting a couple unrelated snags with my test cluster which slowed this down. There were a couple things that made it more complicated, namely that you can only have one ipv6only per port (and there are many listen 80 directives, so there had to be something extra for that). I've manually tested that the current commit (image When using that, doing a curl of its ipv4 or ipv6 address returns the default backend, and adding One thing to note, however, is that logs produced by nginx change slightly. A line that before might read I mention that only because if you know of people doing log ingestion/parsing, this could impact them. |
/lgtm |
* Update oidc.lua * Update oidc.lua * Update .travis.yml * Update .travis.yml * Update oidc.lua * Update .travis.yml * Update Dockerfile * Update .travis.yml * Update Dockerfile * Update .travis.yml * Update Dockerfile
This allows a brave user to run this in host networking mode and support
ipv6.
I've been running a very similar patch against the contrib version with no trouble for a while.