Not receiving original customer IP in the user.ip tag

We are using the default onpremise github configuration.
Our website (vue project) posts client side errors to sentry.

The user.ip tag from these errors shows the gateway ip of the docker network from the sentry stack.
The nginx config is default and uses x-forwarded-for header config. We also already tried using the “SENTRY_USE_X_FORWARD_FOR = True” and enabled the predefined “SECURE_PROXY_SSL_HEADER = (‘HTTP_X_FORWARDED_PROTO’, ‘https’)” option without any luck.

Can anyone help with this or has some experience? I suspect the documentation about this is lacking some updates.

Anybody got some feedback?