$upstream_http_NAME and $sent_http_NAME vars not available in certain scopes

neilstuartcraig nginx-forum at forum.nginx.org
Wed Mar 30 15:36:45 UTC 2016


Also, for info:

nginx -V
nginx version: nginx/1.9.13
built with OpenSSL 1.0.2g  1 Mar 2016
TLS SNI support enabled
configure arguments: --prefix=/usr/local/nginx --sbin-path=/usr/sbin/nginx
--conf-path=/etc/nginx/current/nginx.conf --pid-path=/var/run/nginx.pid
--error-log-path=/var/log/nginx/default-error.log
--http-log-path=/var/log/nginx/default-access.log
--lock-path=/var/run/nginx.lock
--http-client-body-temp-path=/var/cache/nginx/client_temp
--http-proxy-temp-path=/var/cache/nginx/proxy_temp
--http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp
--http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp
--http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=gtmdaemon
--group=gtmdaemon --with-http_realip_module --with-http_v2_module
--with-http_ssl_module --with-http_geoip_module --with-pcre-jit --with-ipv6
--with-file-aio --with-cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -m64 -mtune=generic'
--add-module=/tmp/tmpOzxjVK/BUILD/nginx-1.9.13/headers-more-nginx-module
--add-module=/tmp/tmpOzxjVK/BUILD/nginx-1.9.13/naxsi/naxsi_src
--add-module=/tmp/tmpOzxjVK/BUILD/nginx-1.9.13/nginx-module-vts
--add-module=/tmp/tmpOzxjVK/BUILD/nginx-1.9.13/nginx-upstream-dynamic-servers
--with-openssl=/tmp/tmpOzxjVK/BUILD/nginx-1.9.13/openssl-1.0.2g

uname -a
Linux ip-10-13-149-100.eu-west-1.compute.internal 3.10.0-327.4.4.el7.x86_64
#1 SMP Tue Jan 5 16:07:00 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,265734,265736#msg-265736



More information about the nginx mailing list