Genuine user cannot register because of IP block

Ok so your server isn’t getting the client IPs at all. It thinks all of your visitors are coming from the cloudflare network. You’re missing the cloudflare.template.yml in your app.yml

Turn the orange cloud off - do registrations work then?

Assuming you’re using the standard install add this to the templates: section of your app.yml:

- "templates/cloudflare.template.yml"

And rebuild:

./launcher rebuild app

To avoid any future pain, make sure you add the following rule to CloudFlare for your Discourse install:

Those features at best can undo some of the optimisations on your site and at worst cause a raft of issue with Discourse. Also be sure to disable Brotli under the ‘Speed’ settings for your domain:

6 Likes