diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2017-10-19 22:03:37 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2017-10-19 22:03:37 +0100 |
commit | fc5cd7426795a9b76594dd639582d6927cdb29f9 (patch) | |
tree | 5086ea1251e45b082f5de1a89cbd61fa5c7df524 | |
parent | 14954ee6ce2ebf536c872ab19becb164fe908aa3 (diff) |
Move database config to the server section
-rw-r--r-- | example-server.conf | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/example-server.conf b/example-server.conf index e0b3ea5..01e8ac5 100644 --- a/example-server.conf +++ b/example-server.conf @@ -9,13 +9,12 @@ server { cookie_secret = "supersecret" # Authentication key for the client cookie csrf_secret = "supersecret" # Authentication key for the CSRF token http_logfile = "http.log" # Logfile for HTTP requests -} - -database { - type = "mysql" - address = "host:3306" - username = "user" - password = "pass" + database { + type = "mysql" + address = "host:3306" + username = "user" + password = "pass" + } } # Oauth2 configuration |