استفسار حول إضافة Cloudflare

مرحباً،

لقد قمت بتثبيت Discourse باستخدام Docker من GitHub.

أردت إعداد Cloudflare ووجدت هذا الدليل: Full site CDN acceleration for Discourse

لقد أضفت cloudflare.template.yml إلى ملف app.yml.

لقد قمت بإعداد https://forum-direct.example.com/ للإشارة إلى عنوان IP الخاص بخادم VPS الذي يستضيف Discourse، وقمت بإيقاف تشغيل السحابة البرتقالية في Cloudflare، وأضفت هذا إلى إعدادات Discourse long polling base url.

هل هذه هي كل الإعدادات التي يجب عليّ القيام بها لجعل Cloudflare المجاني يعمل مع موقعي، أم أحتاج إلى إعداد أي شيء آخر؟

أيضاً، بما أن https://forum-direct.example.com/ تشير إلى عنوان IP الخاص بخادم VPS، هل يمكن للناس الحصول على عنوان IP الخاص بي، صحيح؟ هل يمكنني منع ذلك بطريقة ما؟

إعجاب واحد (1)

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 إعجابات

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 إعجابات

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

3 إعجابات

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