Welcome! Log In Create A New Profile

Advanced

Re: add_header help

Horus Lee
November 18, 2010 02:36AM
-----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-----

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

add_header help

Indo Php November 18, 2010 02:24AM

Re: add_header help

Horus Lee November 18, 2010 02:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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