smth1
(smth1)
2022 年 4 月 1 日午後 7:23
1
Hello,
I have installed my forum on the www subdomain with the beginner setup.
I want to have ssl on non-www root domain, how can I add it via ssh?
www and non-www are A records to VPS where I have discourse installed.
Thanks!
btw.
I’ve added this advice to app.yml. Then rebuilded the app, still not working.
「いいね!」 1
pfaffman
(Jay Pfaffman)
2022 年 4 月 1 日午後 7:49
2
Don’t know why that didn’t work. I tihnk I’ve tested that lately, but see https://forcewww.com as a workaround.
「いいね!」 2
Stephen
(Stephen)
2022 年 4 月 1 日午後 7:53
3
You’re already using Cloudflare, so just set page rule to redirect the traffic?
「いいね!」 3
smth1
(smth1)
2022 年 4 月 1 日午後 8:12
4
Ok, I’ve enabled CDN on Cloudflare with their SSL.
Also I’ve made page rules:
http://virtmach.com => https://www.virtmach.com
http://www.virtmach.com => https://www.virtmach.com
https://virtmach.com => https://www.virtmach.com
Also, I’ve enabled “Always use HTTPS”.
Let’s see how it works.
smth1
(smth1)
2022 年 4 月 1 日午後 8:15
5
Now I have this problem. I guess the Let’s Encrypt SSL and ngnix redirect should be disabled at server? Any tips?
Stephen
(Stephen)
2022 年 4 月 1 日午後 8:30
6
Redirect whichever domain isn’t configured at Discourse using a Page Rule. No additional configuration on the Discourse server.
「いいね!」 4
system
(system)
クローズされました:
2022 年 5 月 1 日午後 8:30
7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.