-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
SNI FAQ page subtly incorrect and implementation confusing #4275
Comments
cc @PiotrSikora |
Fixes envoyproxy#4275. Signed-off-by: Piotr Sikora <piotrsikora@google.com>
It's correct,
It works just fine (it's missing a few required fields in HTTP connection manager, so the config doesn't load as-is, but that's unrelated).
There are no wildcards in the SNI example.
There is no mention of
Done, see #4285. |
Ah... I see. I mistakenly translated
The confusion I was referring to was with regard to the wildcard matching that I think always happens according to this: envoy/api/envoy/api/v2/listener/listener.proto Lines 104 to 109 in 0621763
The way I read that suggested to me that Thanks for taking the time to address this. I've learned a lot from this even if it wasn't the greatest use of your time. |
Fixes #4275. Signed-off-by: Piotr Sikora <piotrsikora@google.com>
Title: The FAQ page that documents SNI configuration is slightly incorrect and misleading
Description:
The SNI configuration example shown in the FAQ section is incorrect because it shows supplying a string value instead of a list of strings for the
server_names
parameter. This took some time for me to debug since:server_names
is a strange label for a single string but I thought maybe that's just how the reference example does it and it seems to be implied that you'd duplicate the entire block containing it for SNI so I thought it might be an implementation detail that formed from that.The particular example is also confusing since according to the documentation on the
server_names
parameter both "www.example.com" and "example.com" would have been matched by the "wildcard" matching that is supposedly done for "www.example.com" so the second block would therefore never do anything. Turbine Labs, for instance, propagates this confusion in an article of theirs so it seems not to be something that comes from lack of familiarity with the product. Would you consider us making the second example something like "api.example.com" instead? Then a note could be added about the wildcard matching feature taking care of parent domains.The text was updated successfully, but these errors were encountered: