How do I change Cloudflare Remote IP to Real IP in owncloud log?

I think I resolved my issue. I changed my Caddy config from:

header_up X-Real-IP {http.request.header.Cf-Connecting-IP}

to:

header_up X-Forwarded-For {http.request.header.Cf-Connecting-IP}

I’m going to do a fresh install and make sure!

EDIT: I removed all the persisted data and ran a new container. The above Caddy config fixed my issue!

2 Likes