Consulta sobre la adición de Cloudflare

Hola,

He instalado Discourse utilizando la instalación de Docker desde GitHub.

Quería configurar Cloudflare y me encontré con esta guía: Full site CDN acceleration for Discourse

He agregado cloudflare.template.yml al archivo app.yml.

He configurado https://forum-direct.example.com/ para que apunte a la dirección IP de mi VPS que aloja Discourse, he desactivado la nube naranja en Cloudflare y he añadido esto a la configuración de Discourse: long polling base url.

¿Es todo lo que tengo que hacer para que Cloudflare gratuito funcione con mi sitio o necesito configurar algo más?

Además, dado que https://forum-direct.example.com/ apunta a la IP de mi VPS, ¿es correcto que las personas puedan obtener mi IP? ¿Puedo prevenir esto de alguna manera?

1 me gusta

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.

3 Me gusta

I thought it would provide basic ddos protection

Also, Will having cloudflare break any functionality?

You don’t have to make a direct access domain for your discourse for cloudflare in my experience,add the template file is enough.

Discourse provides basic protections. Unless you are running a community that is likely to make you a target, you are wasting your time.

Unless you are careful to turn off some of the optimizations it will break your site. There are many topics on the issue.

3 Me gusta

Okay I think I’m fine without cloudflare for now based on feedback, thanks for all the answers.

3 Me gusta

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.