nginx set header client ip code example Example: nginx set header x-real-ip proxy_set_header X-Real-IP $remote_addr;