Welcome! Log In Create A New Profile

Advanced

Remove HTTP request custom header from headers_in.headers in dynamic module

December 13, 2023 04:30PM
Hi,
I am using NGINX as a reverse proxy server and working on custom dynamic module for NGINX where I have a need programmatically remove/block custom http header from the upstream request, basically from headers_in.headers list so the server which will receive request from NGINX will not see that header. I did some research and found that assigning 0 to [header]->hash works only to response headers headers_out.headers.

Thank you,
sharaga
Subject Author Posted

Remove HTTP request custom header from headers_in.headers in dynamic module

Sharaga December 13, 2023 04:30PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 160
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready