Welcome! Log In Create A New Profile

Advanced

proxy_hide_header question

October 07, 2014 10:42PM
I am using nginx as a reverse proxy and am trying to log some variables set by apache to nginx log. So certain HTTP response headers are set by apache (PHP) and then I log them successfully with $sent_http_* variables.

But then I don't want the info to be exposed to outside world so I tried to remove them by adding "proxy_hide_header". What happened is that it actually makes the variables empty so nothing is logged properly. Is there any work-around for this? I want to remove the entries only for end users but I want to access them inside my nginx.
Subject Author Posted

proxy_hide_header question

keeyong October 07, 2014 10:42PM

Re: proxy_hide_header question

Francis Daly October 08, 2014 03:34AM

Re: proxy_hide_header question

keeyong October 08, 2014 11:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 306
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