title: request.client.host is working in one server but not in other server?
body: <p>We are using same gunicorn and nginx configuration in both servers. one server it is giving client ip but not in other server. Both are ubuntu servers.</p>
  <p>we are developing rest API services by using fastAPI framework. we are running gunicorn behind the nginx.
  below are the gunicorn.py file</p>
  <pre><code>import os
  
  errorlog = '/var/log/gunicorn/gunicorn.log'
  loglevel = 'debug'
  bind = 'unix:/tmp/gunicorn.sock'
  daemon = True
  workers = os.cpu_count() * 2
  timeout = 600
  graceful_timeout = 600
  keepalive = 60
  worker_class = &quot;uvicorn.workers.UvicornWorker&quot;
  max_requests = 2048
  preload_app = True
  max_requests_jitter = 1024
  worker_connections = 1000
  proxy_protocol = True
  forwarded_allow_ips = &quot;*&quot;
  proxy_allow_ips = &quot;*&quot;
  </code></pre>
  <p>we are running above gunicorn.py file using <strong>gunicorn -c gunicorn.py base.main:app</strong>
  we are getting client ip by using <strong>request.client.host</strong></p>