diff options
Diffstat (limited to 'contrib/webmentions-ssg.example.cfg')
| -rw-r--r-- | contrib/webmentions-ssg.example.cfg | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/webmentions-ssg.example.cfg b/contrib/webmentions-ssg.example.cfg index 22fcf72..2b7b115 100644 --- a/contrib/webmentions-ssg.example.cfg +++ b/contrib/webmentions-ssg.example.cfg @@ -20,6 +20,10 @@ BOOTSTRAP_SERVE_LOCAL = True # Generate a persistent random key, e.g.: # python -c 'import secrets; print(secrets.token_urlsafe(32))' # Never commit your real key or SMTP password to version control. +# Production refuses to start without a real, persistent key (>=32 random bytes); +# set the same SECRET_KEY in the web process and every worker. +# Changing this key invalidates all existing signed login sessions. +# Upgrading to password-bound sessions also requires users to sign in again once. SECRET_KEY = "REPLACE_WITH_A_LONG_RANDOM_SECRET" # --------------------------------------------------------------------------- |
