Hello, I get following request from a device and should proxy it to hd10.vtech.com:
GET http://hd10.vtech.com/test/pp_firmware/HD10-CH010_SUOTA.bin HTTP/1.1
Host: http://hd10.vtech.com/test/pp_firmware/HD10-CH010_SUOTA.bin
Range: bytes=0-59
Unfortunately nginx decides, that the host header field is not valid and throws a 400 error.
Is there a way for me to rewrite the client host header before nginx/openresty validates the request?
I tried the more_set_input_headers routine to modify the header but this takes place after validation...
Thanks and regards
David