Reading from variable in config file
lists at ruby-forum.com
Wed May 6 18:07:25 MSD 2009
I need to read client's IP to store it in module context:
and in config file:
but then it stores not value, but value's name
($proxy_add_x_forwarded_for). This line is put in the same location
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
is, which works fine, so client's ip must be there :)
Or there is mayby another way to get $proxy_add_x_forwarded_for from
inside of my module?
thanks in advance,
Posted via http://www.ruby-forum.com/.
More information about the nginx