Ingress NGINX Controller for Kubernetes
Find a file
Andreas Kohn 03a05458a0
Move the extraction of the 'baseuri' for add-base-url to buildProxyPass
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
2017-04-06 15:38:23 +02:00
controllers Move the extraction of the 'baseuri' for add-base-url to buildProxyPass 2017-04-06 15:38:23 +02:00
core/pkg Fix intermittent misconfiguration of backend.secure and sticky 2017-04-05 22:21:34 -03:00
docs Merge pull request #543 from philips/use-generic-instead-of-oss 2017-04-05 13:35:22 -03:00
examples Merge pull request #539 from aledbf/migrate-client-go 2017-04-05 13:50:21 -07:00
Godeps Update go dependencies 2017-04-04 16:11:36 -03:00
hack fix all go style mistakes about fmt.Errorf 2017-03-17 08:35:55 +08:00
images Update nginx and vts module 2017-04-02 16:07:38 -03:00
vendor Update go dependencies 2017-04-04 16:11:36 -03:00
.gitignore Ignore coverage profile files. 2016-12-15 11:00:26 +01:00
.travis.yml Fix e2e make targets 2016-12-15 10:12:16 -03:00
CONTRIBUTING.md Improve links from CONTRIBUTING. 2017-02-03 10:27:56 +01:00
LICENSE Initial commit 2016-11-04 23:54:14 +01:00
Makefile Drop superfluous dependencies in top-level Makefile. 2017-03-30 13:06:39 +02:00
OWNERS Add more assignees and approvers 2017-02-17 10:47:56 -08:00
README.md Merge pull request #66 from bprashanth/more_docs 2017-01-01 18:47:33 -08:00

Ingress

Build Status Coverage Status Go Report Card

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