Upstream module development

Ajith C ajithc1861 at
Fri Apr 13 16:15:39 UTC 2018


     Now I am writing a Nginx module to communicate with an upstream server (LDAP) . I had coded both the create_request and process_header callback functions. But the problem is, I don’t want to talk with the upstream for for all the requests but only for the requests with some special parameters. For example: if a request arrives like , then I want to talk to the upstream to generate the response for the client But if URI is , then I don’t want to connect to upstream and I need to create my own response to send back to client. What should I do? Please help.

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx-devel mailing list