How to show real ip in the Nextcloud container behind SWAG?

I’m having a problem in Nextcloud where it says that login fails for user.
But I can only see the docker ip as originating ip, and that is not helpful.

Is there a way to set up so the real ip show all the way into the Nextcloud logs when Nextcloud is behind the SWAG Proxy?
Is it a global config for SWAG or is it specific for the Nextcloud proxy-config?

Thanks