ingress-nginx-helm/test/e2e/settings
Jeroen Schutrup 8dd912114e
Move X-Forwarded-Port variable to the location context
Resolves issue #4038 where the X-Forwarded-Port header would be set to the value of the https listening port if all of the following settings were satisfied:
- The ingress controller was started with a non-default HTTPS port set with the `--https-port` argument
- An ingress is created having:
  - the `nginx.ingress.kubernetes.io/auth-url` annotation set
  - TLS enabled

This commit solves this issue by moving the setting of the `pass_server_port` variable from the server, one level down to the location context.
2019-08-06 17:00:58 +02:00
..
configmap_change.go Refactor e2e test 2019-05-27 06:31:01 -04:00
default_ssl_certificate.go Use apps/v1 api group in e2e tests 2019-05-29 12:12:45 -07:00
disable_catch_all.go Use apps/v1 api group in e2e tests 2019-05-29 12:12:45 -07:00
forwarded_headers.go properly parse x-forwarded-host 2019-03-31 15:10:45 -04:00
geoip2.go Refactor e2e tests to use the service ClusterIP 2019-02-24 20:04:07 -03:00
global_access_block.go Refactor e2e tests to use the service ClusterIP 2019-02-24 20:04:07 -03:00
global_external_auth.go feat: auth-req caching 2019-07-17 18:39:04 +02:00
ingress_class.go Use apps/v1 api group in e2e tests 2019-05-29 12:12:45 -07:00
listen_nondefault_ports.go Move X-Forwarded-Port variable to the location context 2019-08-06 17:00:58 +02:00
main_snippet.go Remove e2e boilerplate 2018-10-29 22:38:15 -03:00
multi_accept.go Remove e2e boilerplate 2018-10-29 22:38:15 -03:00
no_auth_locations.go Migrate to new networking.k8s.io/v1beta1 package 2019-06-13 11:32:39 -04:00
pod_security_policy.go Merge pull request #4135 from nicknovitski/deployment-api-appsv1 2019-05-29 16:50:18 -07:00
proxy_host.go Refactor e2e tests to use the service ClusterIP 2019-02-24 20:04:07 -03:00
proxy_protocol.go Refactor e2e tests to use the service ClusterIP 2019-02-24 20:04:07 -03:00
server_tokens.go Migrate to new networking.k8s.io/v1beta1 package 2019-06-13 11:32:39 -04:00
tls.go replace some of the Nginx configuration to Lua code 2019-03-31 12:04:52 -04:00