What about something like this in rgw section in ceph.conf? rgw_enable_ops_log = true rgw_log_http_headers = http_x_forwarded_for, http_expect, http_content_md5 rgw_ops_log_file_path = /var/log/ceph/mon1.rgw-ops.log
Rok On Wed, Feb 12, 2025 at 2:19 PM Paul JURCO <paul.ju...@gmail.com> wrote: > Same here, it worked only after rgw service was restarted using this > config: > rgw_log_http_headers http_x_forwarded_for > > -- > Paul Jurco > > > On Wed, Feb 12, 2025 at 2:29 PM Ansgar Jazdzewski < > a.jazdzew...@googlemail.com> wrote: > > > Hi folks, > > > > i like to make sure that the RadosGW is using the X-Forwarded-For as > > source-ip for ACL's > > However i do not find the information in the logs: > > > > i have set (using beast): > > ceph config set global rgw_remote_addr_param http_x_forwarded_for > > ceph config set global rgw_log_http_headers http_x_forwarded_for > > > > > > > https://docs.ceph.com/en/quincy/radosgw/config-ref/#confval-rgw_log_http_headers > > > > I hope someone can point me in the right direction! > > > > Thanks, > > Ansgar > > _______________________________________________ > > ceph-users mailing list -- ceph-users@ceph.io > > To unsubscribe send an email to ceph-users-le...@ceph.io > > > _______________________________________________ > ceph-users mailing list -- ceph-users@ceph.io > To unsubscribe send an email to ceph-users-le...@ceph.io > _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-le...@ceph.io