Welcome! Log In Create A New Profile

Advanced

How to use nginx dynamic module when proxying connections to application servers

December 11, 2018 02:32AM
I developed a Nginx dynamic module and did required configuration in nginx.conf. Able to run that module and see it doing processing. This module reads request request header, cookies etc., does some business logic execution and modify response header then send back response to client.

Problem -: "How to use nginx module when proxying connections to application servers"
I'm be using Nginx as proxy server and Tomcat or Node as application server and my application hosted on app server. I'm able to route the request through both web & app server and get response back but module isn't getting invoked. Not sure how to link/configure it so that my able to intercept request and modify response header as per need.

Browser <-> Web Server (module sits here) <-> Application Server

Has anybody explored this part? If yes then please help. Let me know if more detail needed.
Subject Author Posted

How to use nginx dynamic module when proxying connections to application servers

mundhada December 11, 2018 02:32AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 146
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready