summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2018-11-11 06:53:42 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2018-11-11 06:55:44 +0000
commitdf72978dce3805157537e8fa1a2fec35fcf9a7cd (patch)
tree52e22261d014168d4fd94cb59d4af2a1ab1cc986 /config
parent331cf6ada1e4df51b366c79126e094ee335dd684 (diff)
downloadpleroma-df72978dce3805157537e8fa1a2fec35fcf9a7cd.tar.gz
pleroma-df72978dce3805157537e8fa1a2fec35fcf9a7cd.zip
csp plug: add support for certificate transparency
Diffstat (limited to 'config')
-rw-r--r--config/config.exs3
-rw-r--r--config/config.md1
2 files changed, 3 insertions, 1 deletions
diff --git a/config/config.exs b/config/config.exs
index ad8653025..1d918919d 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -179,7 +179,8 @@ config :pleroma, :suggestions,
config :pleroma, :csp,
enabled: true,
sts: false,
- sts_max_age: 31_536_000
+ sts_max_age: 31_536_000,
+ ct_max_age: 2_592_000
config :cors_plug,
max_age: 86_400,
diff --git a/config/config.md b/config/config.md
index e08d206b6..34f703560 100644
--- a/config/config.md
+++ b/config/config.md
@@ -85,3 +85,4 @@ This section is used to configure Pleroma-FE, unless ``:managed_config`` in ``:i
* ``enabled``: Whether the managed content security policy is enabled
* ``sts``: Whether to additionally send a `Strict-Transport-Security` header
* ``sts_max_age``: The maximum age for the `Strict-Transport-Security` header if sent
+* ``ct_max_age``: The maximum age for the `Except-CT` header if sent