Hi @all,

I'm using Ceph rados gateway installed via ceph-ansible with the Nautilus
version. The radosgw are behind a haproxy which add these headers (checked
via tcpdump):

    X-Forwarded-Proto: http
    X-Forwarded-For: 10.111.222.55

where 10.111.222.55 is the IP address of the client. The radosgw use the
civetweb http frontend. Currently, this is the IP address of the haproxy
itself which is mentioned in logs. I would like to mention the IP address
from the X-Forwarded-For HTTP header. How to do that?

I have tried this option in ceph.conf:

    rgw_remote_addr_param = X-Forwarded-For

It doesn't work but maybe I have read the doc wrongly.

Thx in advance for your help.

PS: I have tried too the http frontend "beast" but, in this case, no HTTP
request seems to be logged.

--
François
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to