Hello!
On Sun, Nov 29, 2009 at 03:16:26AM -0500, icqheretic wrote:
> Consider this configuration fragment:
>
>
> log_format test_log 'TEST: [$origin_ip] [$upstream_http_content_type]';
>
> location / {
> access_log /tmp/test.log test_log;
> set $origin_ip $upstream_http_content_type;
>
> proxy_pass http://127.0.0.1:6060;
> }
Directive "set" executes at rewrite phase, before proxy even
starts working. As a result $origin_ip will be empty.
Maxim Dounin
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx