aboutsummaryrefslogtreecommitdiff
path: root/example-server.conf
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2017-10-19 22:03:37 +0100
committerNiall Sheridan <nsheridan@gmail.com>2017-10-19 22:03:37 +0100
commitfc5cd7426795a9b76594dd639582d6927cdb29f9 (patch)
tree5086ea1251e45b082f5de1a89cbd61fa5c7df524 /example-server.conf
parent14954ee6ce2ebf536c872ab19becb164fe908aa3 (diff)
Move database config to the server section
Diffstat (limited to 'example-server.conf')
-rw-r--r--example-server.conf13
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