Skip to content

Secret key configuration#

Setup a secret key for this instance:

cat > /etc/cortex/secret.conf << _EOF_
play.http.secret.key="$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 64 | head -n 1)"
_EOF_

Then, in the file /etc/cortex/application.conf, replace the line including play.http.secret.key= by:

/etc/cortex/application.conf
[..]
include "/etc/cortex/secret.conf"
[..]

Last update: February 28, 2023 08:52:31