The only thing left is to double-check whether all that works. We’re going to do that by sending a request to the repeater.
1
curl -H "Host: repeater.acme.com" "http://$INGRESS_HOST?addr=http://go-demo-8"
We sent a request with the “fake” domain, just as we did a few times before. The major difference is that, this time, the request was sent with the Host header set to repeater.acme.com, and that there is the addr=http://go-demo-8 parameter in the address.
When we sent a request to the repeater, it forwarded it to the value of the query parameter addr, which, in turn, is set to go-demo-8. So, it just forwards requests wherever we specify. We can see that’s true since we sent a request to the repeater but got the familiar response from go-demo-8 saying Version: 0.0.1