phosphor-rest: fix remote address in log messages
When we use the webui/rest from the remote host, we connect to the nginx
and the system log at the BMC always contains `127.0.0.1` as the remote
address in corresponded records.
This commit resolve it.
Tested:
- Login to the WebUI
- `journalctl` should contain record like:
```
Sep 12 11:11:33 phosphor-gevent[1374]: YOR-IP-ADDRESS user:root
POST http://127.0.0.1:8081/login json:None 200 OK
```
Change-Id: I188014e7ba811fe1d75c578f903419328f170871
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
1 file changed