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 <[email protected]> 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 <
> [email protected]> 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 -- [email protected]
> > To unsubscribe send an email to [email protected]
> >
> _______________________________________________
> ceph-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to