I'd like nginx to set a header that contains the IP address of the server nginx is running on.
So something like:
proxy_set_header X-Nginx-IP $proxy_host;
Assuming $proxy_host evaluates to the IP of the server nginx is running on.
So something like:
proxy_set_header X-Nginx-IP $proxy_host;
Assuming $proxy_host evaluates to the IP of the server nginx is running on.