I want to implement the following feature:
- client HEAD request arrive , my module send it to an upstream.
- the upstream return response.
- my module check the response, if it is not the data I want, send the
origin request to another upstream
I know the block mode will work. I want to know if there is
mode which will fit into nginx better?