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
2623
October 7, 2022
Where I should go to set the `DISCOURSE_ENABLE_CORS` env variable?
Product Support
16
1354
December 27, 2022
Enable CORS on localhost for DiscourseConnect
SSO
0
706
January 12, 2024
CORS Error when embedding comments in Gitlab-hosted Jekyll static site
Product Support
3
1097
October 17, 2017
Multiple cors origins on hosted discourse?
Product Support
8
3208
August 21, 2017