Hi,

I have parent proxy config where my frontend hosts ATS (5.3.0), which
remaps all requests to origin1, however uses parent config with origin2
acting as parent:

map / http://origin1/

dest_host=origin1 parent="origin2:80" go_direct=true

This works fine and provides nice failover if origin2 goes down (ATS begins
forwarding requests to origin1 as expected), however I'm not sure how to
handle a case when origin2 is online, but due to service breaking down the
files to be served are no longer there (HTTP 404).

ATS logs TCP_MISS/404 but considers all 404 responses from origin2 as
PARENT_HIT (text/html).

How do I instruct ATS that 404 is in fact not a 'HIT' and should cause ATS
to go to origin1? Is it possible?

Thanks!
Mat

Reply via email to