k/ingress-nginx: use PROXY protocol
This commit is contained in:
parent
50fc310110
commit
5131134c1d
|
@ -101,6 +101,8 @@ apiVersion: v1
|
|||
kind: Service
|
||||
metadata:
|
||||
name: ingress-nginx-controller
|
||||
annotations:
|
||||
service.beta.kubernetes.io/do-loadbalancer-enable-proxy-protocol: "true"
|
||||
spec:
|
||||
ports:
|
||||
- appProtocol: http
|
||||
|
|
|
@ -15,6 +15,7 @@ configMapGenerator:
|
|||
literals:
|
||||
- allow-snippet-annotations=true
|
||||
- annotations-risk-level=Critical
|
||||
- use-proxy-protocol=true
|
||||
replacements:
|
||||
- source:
|
||||
kind: Certificate
|
||||
|
|
Loading…
Reference in New Issue