Discourse Meta
Troubleshooting "BAD CSRF" error on initial site setup?
Support
Self-hosting
Falco
(Falco)
September 12, 2018, 9:27pm
13
This should do it:
./launcher enter app cd /var/www/discourse rails c SiteSetting.force_https = true
Unknow error "BAD CSRF"
show post in topic
Related topics
Topic
Replies
Views
Activity
CSRF login error after upgrade to 2.5.0.beta4
Support
12
1558
June 9, 2020
Discourse Integration Nextcloud bad csrf
Self-hosting
2
1072
January 18, 2022
Avatar, Site Logos, and Cert Errors
Self-hosting
unsupported-install
61
4052
May 25, 2020
Set up Discourse on a server with existing Apache sites
Sysadmins
how-to
16
22495
September 18, 2020
Solved: Bad CSRF when trying to use HTTPS
Self-hosting
1
1231
May 22, 2018