<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><font style="font-size: 14px;" class="">Hello!</font><div class=""><font style="font-size: 14px;" class=""><br class=""></font></div><div class=""><font style="font-size: 14px;" class="">I’m new to nginx, playing using the api and making some handlers and filters. Now what i would like to do is to</font></div><div class=""><font style="font-size: 14px;" class=""><br class=""></font></div><div class=""><font style="font-size: 14px;" class="">process the request headers, call an external c library, do some work and pass the request to an upstream using proxy_pass. </font></div><div class=""><font style="font-size: 14px;" class=""><br class=""></font></div><div class=""><font style="font-size: 14px;" class="">I read about http</font><span style="font-size: 14px;" class=""> request processing phases and handler priority, but i am a little bit confused.</span></div><div class=""><br class=""></div><div class=""><span style="font-size: 14px;" class="">Should i use a handler or a filter in order to work with proxy_pass?</span></div><div class=""><span style="font-size: 14px;" class=""><br class=""></span></div><div class=""><span style="font-size: 14px;" class="">Thanks.</span></div><div class=""><span style="font-size: 14px;" class=""><br class=""></span></div><div class=""><span style="font-size: 14px;" class="">aris</span></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""> </div></body></html>