diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-11-12 15:08:02 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-11-12 15:08:02 +0000 |
commit | fe67665e19cc98faff4a8ee53a3f4ca4190ca2ef (patch) | |
tree | 9a6941d0e165e1f52cb414645420157ac2a0d421 /config | |
parent | 5dda13ee5f9302cfef215c8ffaa527e9a572a37b (diff) | |
download | pleroma-fe67665e19cc98faff4a8ee53a3f4ca4190ca2ef.tar.gz pleroma-fe67665e19cc98faff4a8ee53a3f4ca4190ca2ef.zip |
rename CSPPlug to HTTPSecurityPlug.
Diffstat (limited to 'config')
-rw-r--r-- | config/config.exs | 2 | ||||
-rw-r--r-- | config/config.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/config.exs b/config/config.exs index 1d918919d..be9c03ceb 100644 --- a/config/config.exs +++ b/config/config.exs @@ -176,7 +176,7 @@ config :pleroma, :suggestions, limit: 23, web: "https://vinayaka.distsn.org/?{{host}}+{{user}}" -config :pleroma, :csp, +config :pleroma, :http_security, enabled: true, sts: false, sts_max_age: 31_536_000, diff --git a/config/config.md b/config/config.md index 446b0ce67..48af1c236 100644 --- a/config/config.md +++ b/config/config.md @@ -81,7 +81,7 @@ This section is used to configure Pleroma-FE, unless ``:managed_config`` in ``:i * ``outgoing_blocks``: Whether to federate blocks to other instances * ``deny_follow_blocked``: Whether to disallow following an account that has blocked the user in question -## :csp +## :http_security * ``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 |