Sharing Nginx mail proxy config for sentry anyone?

Is here anyone willing to share the way they handled email integration with docker and nginx ? We receive errors when using current docker config with nginx as a proxy added to it.