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
3 Likes
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
1556
June 9, 2020
Discourse Integration Nextcloud bad csrf
Self-hosting
2
1057
January 18, 2022
Avatar, Site Logos, and Cert Errors
Self-hosting
unsupported-install
61
3933
May 25, 2020
Set up Discourse on a server with existing Apache sites
Sysadmins
how-to
16
22436
September 18, 2020
Solved: Bad CSRF when trying to use HTTPS
Self-hosting
1
1222
May 22, 2018