Create CORS documentation

The cors.md file is based on the online version at:
https://docs.cachethq.io/docs/cors
This commit is contained in:
Anthony Bocci 2018-06-22 21:02:45 +02:00
parent ae272e3707
commit 9fef9b227c

17
docs/setup/cors.md Normal file
View File

@ -0,0 +1,17 @@
# CORS
Cross-original resource sharing
> **External Access**
> By default Cachet can be accessed by any third-party server.
You may configure your Cachet installation for CORS very easily. To blacklist everybody except one or more domains:
- Login to your Dashboard
- Go to the Settings panel
- Click on Security
- You'll see a Allowed domains textarea, fill in any domains that you
want to access the API as a comma separated list:
> _Text_
> https://demo.cachethq.io,https://status.cachethq.io