Add encryption settings

This commit is contained in:
Tobias Kunze 2025-03-21 15:56:55 +01:00
parent 5ba2b235cd
commit 00703807d6
2 changed files with 9 additions and 1 deletions

View file

@ -4,10 +4,14 @@
# When the environment is "development", DEBUG is set to True.
SERVALA_ENVIRONMENT='development'
# Set PREVIOUS_SECRET_KEY when rotating to a new secret key in order to not expire all sessions
# Set SERVALA_PREVIOUS_SECRET_KEY when rotating to a new secret key in order to not expire all sessions and to remain able to read encrypted fields!
# SERVALA_PREVIOUS_SECRET_KEY=''
SERVALA_SECRET_KEY='django-insecure-8sl^1&1f-$3%w7cf)q(rcvi4jo(#s3ug-@be0ooc2ioep*&%7@'
# Set SERVALA_PREVIOUS_SALT_KEY when rotating to a new salt in order to remain able to read encrypted fields!
# SERVALA_PREVIOUS_SALT_KEY=''
SERVALA_SALT_KEY='eed6UaCi3euZojai5Iequ8ochookun1o'
# Set the allowed hosts as comma-separated list.
# Use a leading dot to match a domain and all subdomains.
# Leave or unset in the development environment in order to accept localhost names.