Skip to content

Commit

Permalink
Add clarification on how to enable path matching
Browse files Browse the repository at this point in the history
The fact that you need to explicitly add the annotation is easy to miss.
This makes this more explicit, while leaving the finer details to the
linked annotations document.
  • Loading branch information
Niksko committed Jun 5, 2019
1 parent 14a394f commit 4a913fa
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 4a913fa

Please sign in to comment.