Merge pull request #4153 from Niksko/use-regex-annotation

Add clarification on how to enable path matching
This commit is contained in:
Kubernetes Prow Robot 2019-06-04 19:05:53 -07:00 committed by GitHub
commit 73d7806b48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,7 @@
Regular expressions and wild cards are not supported in the `spec.rules.host` field. Full hostnames must be used.
The ingress controller supports **case insensitive** regular expressions in the `spec.rules.http.paths.path` field.
This can be enabled by setting the `nginx.ingress.kubernetes.io/use-regex` annotation to `true` (the default is false).
See the [description](./nginx-configuration/annotations.md#use-regex) of the `use-regex` annotation for more details.