Hi Jeremy,

My parent cache is behind kubernetes ingress controller.
I need the Host: header be set with: vcache-mid-1.cdn.lab:31695

Please find below my response embodied in your reply.

>> ensure your parent cache will recognize requests for
>> originserver.cdn.lab:8080

I think my parent cache is configured fine:
map http://originserver.cdn.lab:8080/ http://originserver.cdn.lab:8080/

>> This below is the request to your parent cache.
>> 
>> GET http://originserver.cdn.lab:8080/player.html HTTP/1.1^M
>> The HOST header in this request will not be honored.

Yes, I can see that the Host: header is set to:
originserver.cdn.lab:8080

>> In this context, you have to account for the FQDN seen in the GET 
request.

I am not sure whether accounting for the FQDN seen in the GET request will 
work for me. My parent cache is behind kubernetes ingress controller.
I need the Host: header be set with: vcache-mid-1.cdn.lab:31695

>> If you are not using direct_to_origin in the parent.config, then the
I am not. My go_direct is set to "false"

>> easiest solution is to
>> modify the origin definition in your edge remap.config.
>> Or modify the remap on your parent to match the above FQDN seen in the
>> GET request.

My parent already matches the above FQDN seen in the GET request 

Thanks,
Avi Weit



Reply via email to