ingress-nginx-helm/internal/ingress/annotations/redirect
k8s-infra-cherrypick-robot 9ed5485745
Docs: Clarify from-to-www redirect direction. (#11692)
* docs: Clarify from-to-www redirect direction.

This was not clear to me when reading the docs whether the ingress will
redirect from non-www to with-www or the reverse. It's also not very
clear from just grepping around the codebase. I found the answer by
reading from this reddit link:

https://www.reddit.com/r/kubernetes/comments/pbl033/k8s_ingress_redirecting_www_to_nonwww_domains/

So, to save time for other people doing the same, which I assumes is a
lot of people since it's a common scenario, this little revision in the
docs is warranted.

* Docs: Implement suggestion.

---------

Co-authored-by: Chakrit Wichian <service@chakrit.net>
Co-authored-by: Marco Ebert <marco_ebert@icloud.com>
2024-07-29 02:55:09 -07:00
..
redirect.go Docs: Clarify from-to-www redirect direction. (#11692) 2024-07-29 02:55:09 -07:00
redirect_test.go Fix golangci-lint errors (#10196) 2023-08-31 00:36:48 -07:00