Elmi
(Ekmo)
16 يناير 2022، 10:57م
9
تحديث سريع فقط لإعلامكم بما نجح معي.
لقد حاولت، لكن هذا لم ينجح معي. بدا الأمر وكأن شهادة إضافية لم يتم إصدارها.
NOTE: @pfaffman says: This page needs to be cleaned up. There is now a new ENV setting that will let you add more hostnames. In your app.yml under your DISCOURSE_HOSTNAME line (it can go many places but that one makes sense), add
DISCOURSE_HOSTNAME_ALIASES: domain.com,other.domain.com
and early reports suggest that you’ll get valid certs for those domains and that accessing https://domain.com will properly redirect you to your DISCOURSE_HOSTNAME without a certificate error.
If you do that an…
لقد حاولت أيضًا حل مشكلتي باتباع هذا الاقتراح، لكن هذا أيضًا لم ينجح معي.
I finally made it work, and thought to put everything together in case someone needs it.
This info is assembled from different topics on this forum. Thanks to @brahn and @techAPJ .
This assumes you’ve completed the initial Let’s Encrypt setup:
After you’ve done it, the following needs to be added to the app.yml in hooks section. It will do two things:
setup SSL for both example.com and www.example.com. Just replace example.com with your domain name.
redirect example.com to www.example.com
I…
الشيء الوحيد الذي حل مشكلتي حتى الآن كان باتباع التعليمات هنا http://www.forcewww.com/
ومع ذلك، أعتقد أن هذا لا يزال ليس حلاً مرغوبًا فيه، لأنه يعتمد على خدمة خارجية. بالطبع، إنها مجانية، ولكن ستحتاج إلى إيجاد حل جديد بمجرد تعطل هذه الخدمة.
آمل ألا تفهموني خطأ يا @michaeld ، إنه حقًا حل لطيف وسهل تقدمه وأنا أقدره حقًا.
سيكون من الرائع جدًا، إذا كان بإمكانك تحديد أثناء التثبيت القياسي إما استخدام إصدار www أو non www فقط لجعل حياتنا أسهل قليلاً
إعجابَين (2)