All of the following will work.

The = modifier in location block is an exact match, without any wildcards, prefix matching or regular expressions.

The ingress controller would define the following location blocks (in this order) within the NGINX template for the server: A request to would match the ^/foo/bar/[A-Z0-9]{3} location block instead of the longest EXACT matching path. To learn more, see our tips on writing great answers. As shown in the above example, this is defined in the 1st location block using try_files. How to say "You can't get there from here" in Latin. parrot.jpg How can I get readers to like a character they’ve never met? The default.conf file defines the following two location directives. You need to adjust the order of regex parts. This is similar to the above example, but this will perform a case-insensitive regular expression matching. Why can't California Proposition 17 be passed via the legislative process and thus needs a ballot measure? URL/img/dog.gif – This will work as we have dog.gif on our server.

How is it possible that a