After putting cloudflare on my discourse forum, people's IP disappeared!

actually they didn’t disappear, I meant that the original IP disappeared and a fake one appeared

I think you have to add the Cloudflare template to app.yml if you’re using Cloudflare.

The file is /var/discourse/containers/app.yml. The relevant section of the file might look something like this:

templates:
  - "templates/postgres.template.yml"
  - "templates/redis.template.yml"
  - "templates/web.template.yml"
  - "templates/web.ratelimited.template.yml"
  - "templates/web.ssl.template.yml"
  - "templates/web.letsencrypt.ssl.template.yml"
  - "templates/cloudflare.template.yml"

Add the last line to use the Cloudflare template.

2 Likes

excuse my ignorance, but I didn’t understand anything, is there any topic or article that I can research and understand better?

Did you install discourse following the standard install guide?