Only allow Cloudflare IPs for Discourse server

Hey everyone,

I am reading this thread and we need to know this information as well. We are running Discourse using the docker install on an Ubuntu server hosted on AWS.

How would we whitelist Cloudflare IPs with this build? I just ssh’d in and did not see any obvious NGINX paths within the container.

Any help would be greatly appreciated.

Best,

Sunny