在首次设置网站时排查"BAD CSRF"错误?

This should do it:

./launcher enter app
cd /var/www/discourse
rails c
SiteSetting.force_https = true
3 个赞