Skip to content

Commit 90f262f

Browse files
committed
Update ingress-nginx values.yaml to enable proxy protocol and HTTP to HTTPS redirection
1 parent 841e8e7 commit 90f262f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

infra/ingress-nginx/values.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ controller:
1616

1717
# Ensures communication between the load balancer and cluster nodes happens through the private network.
1818
load-balancer.hetzner.cloud/use-private-ip: "true"
19-
load-balancer.hetzner.cloud/hostname: cd.code4.ro
19+
2020
# "uses-proxyprotocol" enables the proxy protocol on the load balancer so that the ingress controller and applications can see the real client IP.
21-
load-balancer.hetzner.cloud/uses-proxyprotocol: "false"
21+
load-balancer.hetzner.cloud/uses-proxyprotocol: "true"
2222

23+
load-balancer.hetzner.cloud/http-redirect-https: "true"
2324
# -- Will add custom configuration options to Nginx https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/
2425
config:
2526
use-proxy-protocol: "true"

0 commit comments

Comments
 (0)