Http request at Nginx passes through several phases while being processed. In each phase, a set of handlers is called. And, a third-party module can also hook its custom handler