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

I deployed Discourse using containers via the 1Panel server management panel (open-source) for convenient server management.

The 1Panel architecture is: User -> Cloudflare -> 1Panel Nginx -> Discourse container.

My understanding is that even if I modify the app.yml configuration in Discourse, 1Panel’s Nginx still sits between Cloudflare and Discourse.