-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Description
NGINX Ingress controller version:
gcr.io/google_containers/nginx-ingress-controller:0.9.0-beta.15
Kubernetes version (use kubectl version
):
oc v3.6.1+008f2d5
kubernetes v1.6.1+5115d708d7
Environment:
- Cloud provider or hardware configuration: AWS
- OS (e.g. from /etc/os-release):
NAME="Red Hat Enterprise Linux Server"
VERSION="7.2 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="7.2"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.2 (Maipo)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.2:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.2
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.2"
-
Kernel (e.g.
uname -a
):
Linux ip-10-0-110-21.eu-west-1.compute.internal 3.10.0-327.el7.x86_64 Basic structure #1 SMP Thu Oct 29 17:29:29 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux -
Install tools:
OpneShift -
Others:
What happened:
When configuring the nginx-controller with custom http and https ports and calling http://:${NGINX_HOST_HTTP_PORT}/health we got a redirect to https://:${NGINX_HOST_HTTP_PORT}/health instead of http://:${NGINX_HOST_HTTPS_PORT}/health
What you expected to happen:
The redirect should be performed to the https port, not to the http port.
How to reproduce it (as minimally and precisely as possible):
Launch an nginx-controller with the following args:
- --default-backend-service=$(POD_NAMESPACE)/default-http-backend
- --default-ssl-certificate=edcm/theglue-tls-secret
- --http-port=${NGINX_HOST_HTTP_PORT}
- --https-port=${NGINX_HOST_HTTPS_PORT}
Anything else we need to know: