Consulta sobre a adição do Cloudflare

Olá,

Instalei o Discourse usando a instalação via Docker do GitHub.

Queria configurar o Cloudflare e encontrei este guia: Full site CDN acceleration for Discourse

Adicionei o arquivo cloudflare.template.yml ao arquivo app.yml.

Configurei https://forum-direct.example.com/ para apontar para o endereço IP do meu VPS que hospeda o Discourse, desativei a nuvem laranja no Cloudflare e adicionei isso nas configurações do Discourse em long polling base url.

Isso é tudo o que preciso fazer para que o Cloudflare gratuito funcione com meu site, ou preciso configurar mais alguma coisa?

Além disso, como https://forum-direct.example.com/ aponta para o IP do meu VPS, as pessoas podem descobrir meu IP, correto? Posso impedir isso de alguma forma?

1 curtida

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 curtidas

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 curtidas

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

3 curtidas

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