directus / directus/docs

Self Hosted config options (helmet's adaptation)

Open
#315 12 comments 4 reactions 0 assignees View on GitHub
Docs
Dominant language
TypeScript
Stars
22
Forks
82
Avg merge
18h 49m
Merged PRs (30d)
4

Description

### Describe the Request

I think it would be nice to add at least:

OR
- a more precise docs for CONTENT_SECURITY_POLICY_*
- a doc page for how to setup livepreview for self hosted

because now (not some times ago) I had a CSP error with IFRAME.

So I spend hours to understand (not find it but I deducted it) that

```CONTENT_SECURITY_POLICY_DIRECTIVES__FRAME_SRC="array:https://www.yourwebsite.com/"```

In the .env file was the solution ^^

### Maintainence Strategy

As often as the config option of CSP will change

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.