x-forwarded-proto nginx http code example Example: nginx set x-forwarded-for proxy_set_header X-Forwarded-For $remote_addr;