add_header help

Horus Lee horus.li at gmail.com
Thu Nov 18 10:31:06 MSK 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Have you ever tried ngx_headers_more?
http://wiki.nginx.org/NginxHttpHeadersMoreModule

于 10-11-18 下午3:18, Indo Php 写道:
> I'm using nginx for load balancer. For debugging purposes, I'm trying to 
> add_header on 50x error.
> But based on manual, it's not possible.
> 
>         location = /50x.html {
>                 add_header Cluster      server01;
>                 root   /etc/nginx/html;
>         }
> 
> Is there any other way to do this?
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.12 (Darwin)

iEYEARECAAYFAkzk1jcACgkQdcWH549obljYYQCglucXw+c1KvcCBA+qBoAVfmvV
oh0An3Xtk75t0AverJmBU3qzxK5cQh1v
=kmrc
-----END PGP SIGNATURE-----



More information about the nginx mailing list