diff options
author | azul <azul@riseup.net> | 2017-03-23 08:36:07 +0000 |
---|---|---|
committer | azul <azul@riseup.net> | 2017-03-23 08:36:07 +0000 |
commit | 3efe125d6e3bd5f4eecd18952376ffc37e09b9c5 (patch) | |
tree | 30640dfeafa9f847901bb149635a1a781ab51d9b /README.md | |
parent | 2989f4142576de191b16832b53c3d1e70701d286 (diff) | |
parent | d03082680007d30b8883495c2ae5110daec14f71 (diff) |
Merge branch 'upgrade/secret-key-base' into 'master'
upgrade: use rails4s 'secret_key_base'
Closes #23
See merge request !24
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -112,7 +112,7 @@ There are a few values you should make sure to modify: admins: ["myusername","otherusername"] domain: example.net force_ssl: true - secret_token: "4be2f60fafaf615bd4a13b96bfccf2c2c905898dad34" + secret_key_base: "e1c04f93edb26b64040ba49f34084b03abbc286a7fbb60b5b0736bed2d9fe3ec5f16ef4253b252080f3c8b52e11541d57adc8eee6e4bd53f3b568aced3455106" client_ca_key: "./test/files/ca.key" client_ca_cert: "./test/files/ca.key" ca_key_password: nil @@ -125,8 +125,8 @@ There are a few values you should make sure to modify: * `force_ssl`, if set to true, will require secure cookies and turn on HSTS. Don't do this if you are using a self-signed server certificate. -* `secret_token`, used for cookie security, you can create one with - `rake secret`. Should be at least 30 characters. +* `secret_key_base`, used for cookie security, you can create one with + `rake secret`. Should be at least 64 bytes hex. * `client_ca_key`, the private key of the CA used to generate client certificates. |