Skip to content

Commit

Permalink
Merge pull request #4153 from Niksko/use-regex-annotation
Browse files Browse the repository at this point in the history
Add clarification on how to enable path matching
  • Loading branch information
k8s-ci-robot authored Jun 5, 2019
2 parents 14a394f + 4a913fa commit 73d7806
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/user-guide/ingress-path-matching.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 73d7806

Please sign in to comment.