How to fix all traffic showing as coming from Cloudflare servers instead of the user's browser IP

Finally had time to resolve this issue. See details below:

Solved: Discourse deployed via 1Panel shows all user IPs as coming from Cloudflare instead of the user’s real browser IP - Support - Discourse Meta