diff options
author | Rigel Kent <par@rigelk.eu> | 2018-12-13 09:49:45 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-12-13 09:49:45 +0100 |
commit | 5e755fff9d70a7fd3c4f85bb524f1b774dd85b25 (patch) | |
tree | 699a0724de91f4151ec7d67b700f5b7736a78e45 /support/docker | |
parent | 9ecac97be024cf2277872986950d7eec85cbc76e (diff) | |
download | PeerTube-5e755fff9d70a7fd3c4f85bb524f1b774dd85b25.tar.gz PeerTube-5e755fff9d70a7fd3c4f85bb524f1b774dd85b25.tar.zst PeerTube-5e755fff9d70a7fd3c4f85bb524f1b774dd85b25.zip |
add Content Security Policy (#1252)
* add Content Security Policy
* remove reflect-metadata on production builds to get rid of unsafe-eval
* fix baseCSP usage
* add SRI to CSP
* add blob: to media-src
* remove SRI
* CSP set to reportOnly
* adding data: to connect-src CSP
* remove block-all-mixed-content
* add report-uri support
Diffstat (limited to 'support/docker')
-rw-r--r-- | support/docker/production/config/custom-environment-variables.yaml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/support/docker/production/config/custom-environment-variables.yaml b/support/docker/production/config/custom-environment-variables.yaml index cfc30632c..550f1ad80 100644 --- a/support/docker/production/config/custom-environment-variables.yaml +++ b/support/docker/production/config/custom-environment-variables.yaml | |||
@@ -101,9 +101,11 @@ transcoding: | |||
101 | 1080: | 101 | 1080: |
102 | __name: "PEERTUBE_TRANSCODING_1080P" | 102 | __name: "PEERTUBE_TRANSCODING_1080P" |
103 | __format: "json" | 103 | __format: "json" |
104 | |||
105 | 104 | ||
106 | instance: | 105 | instance: |
107 | name: "PEERTUBE_INSTANCE_NAME" | 106 | name: "PEERTUBE_INSTANCE_NAME" |
108 | description: "PEERTUBE_INSTANCE_DESCRIPTION" | 107 | description: "PEERTUBE_INSTANCE_DESCRIPTION" |
109 | terms: "PEERTUBE_INSTANCE_TERMS" | 108 | terms: "PEERTUBE_INSTANCE_TERMS" |
109 | |||
110 | services: | ||
111 | csp-logger: "PEERTUBE_SERVICES_CSPLOGGER" | ||