Prefer an x-forwarded-for ip over the request ip in logs and include the host header before the path.