aboutsummaryrefslogtreecommitdiff
path: root/lib/mix
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2018-11-11 06:42:14 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2018-11-11 06:42:14 +0000
commita2bf5426cb84940dbd58aec10a7b1b0a90f26a60 (patch)
tree138e49c0baac1254e2ed2736775ad871f73cb09f /lib/mix
parent69f5dfcfb3f2b498e1f9957244f0896b6f9d5c2a (diff)
downloadpleroma-a2bf5426cb84940dbd58aec10a7b1b0a90f26a60.tar.gz
sample config: document how to make CSPPlug send STS headers (off by default to allow for SSL debugging)
Diffstat (limited to 'lib/mix')
-rw-r--r--lib/mix/tasks/sample_config.eex4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mix/tasks/sample_config.eex b/lib/mix/tasks/sample_config.eex
index 3881ead26..824bc97a1 100644
--- a/lib/mix/tasks/sample_config.eex
+++ b/lib/mix/tasks/sample_config.eex
@@ -25,6 +25,10 @@ config :pleroma, Pleroma.Repo,
hostname: "localhost",
pool_size: 10
+# Enable Strict-Transport-Security once SSL is working:
+# config :pleroma, :csp,
+# sts: true
+
# Configure S3 support if desired.
# The public S3 endpoint is different depending on region and provider,
# consult your S3 provider's documentation for details on what to use.