From fc5cd7426795a9b76594dd639582d6927cdb29f9 Mon Sep 17 00:00:00 2001
From: Niall Sheridan <nsheridan@gmail.com>
Date: Thu, 19 Oct 2017 22:03:37 +0100
Subject: [PATCH] Move database config to the server section

---
 example-server.conf | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/example-server.conf b/example-server.conf
index e0b3ea55..01e8ac55 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
-- 
GitLab