Discourse Meta
Setup Cross-Origin Resource Sharing (CORS)
Documentation
Self-Hosting
how-to
NateDhaliwal
(Nate Dhaliwal)
May 26, 2025, 6:03am
4
Try it without the double quotes, otherwise it can be interpreted as a string instead of a boolean.
show post in topic
Related topics
Topic
Replies
Views
Activity
Set DISCOURSE_ENABLE_CORS for hosted forum
Self-hosting
hosting
5
2602
October 7, 2022
Where I should go to set the `DISCOURSE_ENABLE_CORS` env variable?
Support
16
1327
December 27, 2022
Enable CORS on localhost for DiscourseConnect
SSO
0
703
January 12, 2024
CORS Error when embedding comments in Gitlab-hosted Jekyll static site
Support
3
1079
October 17, 2017
Multiple cors origins on hosted discourse?
Support
8
3191
August 21, 2017