Commit 226a6cd1 authored by Leonardo Menezes's avatar Leonardo Menezes
Browse files

use play.crypto.secret instead of app.secret

closes #65
parent e4465656
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -19,6 +19,9 @@ Some settings in cerebro can be set by specifying them as Java System properties

For an extensive list of Java System properties accepted, check https://www.playframework.com/documentation/2.5.x/ProductionConfiguration

### Secret
Play uses the value of play.crypto.secret to sign session cookies, CSRF tokens and other builtin encryption utilities. It is highly recommended to change this value before running cerebro in production.

### HTTP server address and port
You can run cerebro listening on a different port(9000) and host(0.0.0.0):
```
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
# ~~~~~
# The secret key is used to secure cryptographics functions.
# If you deploy your application to several instances be sure to use the same key!
application.secret="ki:s:[[@=Ag?QI`W2jMwkY:eqvrJ]JqoJyi2axj3ZvOv^/KavOT4ViJSv?6YY4[N"
play.crypto.secret="ki:s:[[@=Ag?QI`W2jMwkY:eqvrJ]JqoJyi2axj3ZvOv^/KavOT4ViJSv?6YY4[N"

# The application languages
# ~~~~~