From fc5cd7426795a9b76594dd639582d6927cdb29f9 Mon Sep 17 00:00:00 2001 From: Niall Sheridan Date: Thu, 19 Oct 2017 22:03:37 +0100 Subject: Move database config to the server section --- example-server.conf | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'example-server.conf') 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 -- cgit v1.2.3