Dear Community,

In one of our deployments, we used two tiered caches and needed to access 
origin using https. We used header rewrite in mid cache for https origin access 
(e.g. set-destination SCHEM https, etc), while kept edge to mid in http.

We also would like to to enable go_direct at the edge such that when the mids 
are down, edge can go to origin directly. The go direct functionality appeared 
to do the right thing except not able to switch to https. We are thinking of 
doing a header rewrite or lua script to conditionally set the sheme to https 
but can’t figure out how to check whether the edge is go_direct.

Is it possible to detect such condition from plugins?

Does anyone have experience altering requests based on parent selection results?

Thanks
-Hongfei
  • ... Hongfei Zhang -X (hongfezh - TRITON UK BIDCO LIMITED c/o Alter Domus (UK) Limited -OBO at Cisco)
    • ... Miles Libbey
      • ... Eric Friedrich -X (efriedri - TRITON UK BIDCO LIMITED c/o Alter Domus (UK) Limited -OBO at Cisco)

Reply via email to