diff --git a/ingress-shim/deploy.yaml b/ingress-shim/deploy.yaml index c321243..e4c6b40 100644 --- a/ingress-shim/deploy.yaml +++ b/ingress-shim/deploy.yaml @@ -32,14 +32,20 @@ data: frontend http80 bind *:80 + http-request capture req.hdr(X-Forwarded-For) len 64 + http-request capture req.hdr(Host) len 255 http-request redirect scheme https frontend https443 bind *:443 ssl crt /ssl-tmp/tls.pem + http-request capture req.hdr(X-Forwarded-For) len 64 + http-request capture req.hdr(Host) len 255 default_backend httpnodes frontend proxy443 bind *:4443 ssl crt /ssl-tmp/tls.pem accept-proxy + http-request capture req.hdr(X-Forwarded-For) len 64 + http-request capture req.hdr(Host) len 255 default_backend httpnodes backend httpnodes @@ -50,6 +56,8 @@ data: mode http option httplog bind *:8404 + http-request capture req.hdr(X-Forwarded-For) len 64 + http-request capture req.hdr(Host) len 255 stats enable stats uri / stats refresh 10s