add some request captures to ingress-shim
This commit is contained in:
parent
284b1a410d
commit
61d796b686
|
@ -32,14 +32,20 @@ data:
|
||||||
|
|
||||||
frontend http80
|
frontend http80
|
||||||
bind *:80
|
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
|
http-request redirect scheme https
|
||||||
|
|
||||||
frontend https443
|
frontend https443
|
||||||
bind *:443 ssl crt /ssl-tmp/tls.pem
|
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
|
default_backend httpnodes
|
||||||
|
|
||||||
frontend proxy443
|
frontend proxy443
|
||||||
bind *:4443 ssl crt /ssl-tmp/tls.pem accept-proxy
|
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
|
default_backend httpnodes
|
||||||
|
|
||||||
backend httpnodes
|
backend httpnodes
|
||||||
|
@ -50,6 +56,8 @@ data:
|
||||||
mode http
|
mode http
|
||||||
option httplog
|
option httplog
|
||||||
bind *:8404
|
bind *:8404
|
||||||
|
http-request capture req.hdr(X-Forwarded-For) len 64
|
||||||
|
http-request capture req.hdr(Host) len 255
|
||||||
stats enable
|
stats enable
|
||||||
stats uri /
|
stats uri /
|
||||||
stats refresh 10s
|
stats refresh 10s
|
||||||
|
|
Loading…
Reference in New Issue
Block a user