Ingress NGINX Controller for Kubernetes
![]() nginx prioritizes regex rules in 'location' before from regular rules, and so these will always match[1] when used in combination with regular rules. For that reason we should avoid using regex rules in location matching. The use of regular expressions here actually was purely done to get the side-effect of extracting the 'baseuri' for the use of add-base-url later on in buildProxyPass. This commit introduces a dedicated 'location' block to do that extraction instead. See also https://github.com/kubernetes/ingress/blob/master/controllers/nginx/configuration.md#rewrite for some documentation on the rewriting features. [1] https://www.digitalocean.com/community/tutorials/understanding-nginx-server-and-location-block-selection-algorithms |
||
---|---|---|
controllers | ||
core/pkg | ||
docs | ||
examples | ||
Godeps | ||
hack | ||
images | ||
vendor | ||
.gitignore | ||
.travis.yml | ||
CONTRIBUTING.md | ||
LICENSE | ||
Makefile | ||
OWNERS | ||
README.md |
Ingress
Description
This repository contains controllers built around the Kubernetes Ingress resource. It is currently in a state of flux as project maintainers port code over from its previous home.
Navigation
- Learn more about using Ingress
- Write your own Ingress controller
- See our developer documentation
- Deploy existing Ingress controllers
- See our admin documentation
- Contribute
- See the contributor guidelines
- Debug
- Peruse the FAQ section
- Ask on one of the user-support channels