Welcome! Log In Create A New Profile

Advanced

Problems with proxy_hide_header defaults, and proxy_set_header X-Powered-By not applying.

David Taveras
March 10, 2010 10:14AM
Hello,


a.) The wiki says under proxy_hide_header directive that by default
nginx does not transfer the "Date", "Server", "X-Pad" and
"X-Accel-..."

If I do lynx -dump -head i can still see: Date: Wed, 10 Mar 2010
14:43:37 GMT .. and this is not the time of the nginx box.. where is
this coming and how can I hide it?

I tried :

proxy_hide_header Date;


BUt this has no effect over my reverse proxy.


b.) I set this up:

proxy_hide_header X-Powered-By; which does work great... but when I
set proxy_set_header X-Powered-By "BogusPHPversion"; it doesnt work..
no errors when starting nginx. How can I accomplish this?



Thanks

David

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Problems with proxy_hide_header defaults, and proxy_set_header X-Powered-By not applying.

David Taveras March 10, 2010 10:14AM

Re: Problems with proxy_hide_header defaults, and proxy_set_header X-Powered-By not applying.

Maxim Dounin March 10, 2010 11:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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