I need to send a HTTP2 GET request where the HEADER :scheme: is set to http (not https) and HEADER :authority: is the IP address of each server on the server line
How can I change the code below to get the needed results above.
Help would be very appreciated.
frontend nrfs
bind 10.10.10.1:80
mode http
acl nrf-52 dst 10.10.20.1
acl nrf-56 dst 10.10.20.2
acl nrf-61 dst 10.10.20.3
use_backend rdm52-nrf if nrf-52 { path -i -m beg /nnrf-nfm/v1/nf-instances }
use_backend rdm56-nrf if nrf-56 { path -i -m beg /nnrf-nfm/v1/nf-instances }
use_backend rdm61-nrf if nrf-61 { path -i -m beg /nnrf-nfm/v1/nf-instances }
backend rdm52-nrf
source 10.10.10.2
option httpchk
http-check send meth GET uri /nnrf-disc/v1/nf-instances ver HTTP/2 hdr :scheme http
http-check expect rstatus (2|3|4)[0-9][0-9]
server nrf52 10.10.20.1:80 check inter 2m downinter 2m proto h2
server nrf61 10.10.20.3:80 check backup inter 2m downinter 2m proto h2
server nrf56 10.10.20.2:80 check backup inter 2m downinter 2m proto h2
backend rdm61-nrf
source 10.10.10.2
option httpchk
http-check send meth GET uri /nnrf-disc/v1/nf-instances ver HTTP/2 hdr :scheme http
http-check expect rstatus (2|3|4)[0-9][0-9]
server nrf61 10.10.20.3:80 check inter 2m downinter 2m proto h2
server nrf56 10.10.20.2:80 check backup inter 2m downinter 2m proto h2
server nrf52 10.10.20.1:80 check backup inter 2m downinter 2m proto h2
backend rdm56-nrf
source 10.10.10.2
option httpchk
http-check send meth GET uri /nnrf-disc/v1/nf-instances ver HTTP/2 hdr :scheme http
http-check expect rstatus (2|3|4)[0-9][0-9]
server nrf56 10.10.20.2:80 check inter 2m downinter 2m proto h2
server nrf61 10.10.20.3:80 check backup inter 2m downinter 2m proto h2
server nrf52 10.10.20.1:80 check backup inter 2m downinter 2m proto h2