okkezSS
1
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?
Indo_P
2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Have you ever tried ngx_headers_more?
于 10-11-18 下午3:18, Indo P. 写道:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.12 (Darwin)
iEYEARECAAYFAkzk1jcACgkQdcWH549obljYYQCglucXw+c1KvcCBA+qBoAVfmvV
oh0An3Xtk75t0AverJmBU3qzxK5cQh1v
=kmrc
-----END PGP SIGNATURE-----