I have added cloudflare.template.yml to app.yml file.
I have set up https://forum-direct.example.com/ to point to IP address of my VPS hosting discourse and have turned off orange cloud in cloudflare and added this to discourse settings long polling base url
Is that all the settings I have to do to get cloudflare free to work with my site or do i need to configure anything else?
Also since https://forum-direct.example.com/ points to IP of my VPS, people can get my IP, correct? Can i prevent this somehow?
The initial issuance of a certificate will fail if Cloudflare is proxying your domain. Make sure the orange cloud is turned off.
Could you explain why this is a problem? Do you plan on securing the server? Cloudflare isn’t a firewall, even if you proxy traffic the VPS itself isn’t afforded any additional protection.