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