Skip to content
Snippets Groups Projects
Commit fc5cd742 authored by Niall Sheridan's avatar Niall Sheridan
Browse files

Move database config to the server section

parent 14954ee6
No related branches found
No related tags found
No related merge requests found
...@@ -9,14 +9,13 @@ server { ...@@ -9,14 +9,13 @@ server {
cookie_secret = "supersecret" # Authentication key for the client cookie cookie_secret = "supersecret" # Authentication key for the client cookie
csrf_secret = "supersecret" # Authentication key for the CSRF token csrf_secret = "supersecret" # Authentication key for the CSRF token
http_logfile = "http.log" # Logfile for HTTP requests http_logfile = "http.log" # Logfile for HTTP requests
}
database { database {
type = "mysql" type = "mysql"
address = "host:3306" address = "host:3306"
username = "user" username = "user"
password = "pass" password = "pass"
} }
}
# Oauth2 configuration # Oauth2 configuration
auth { auth {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment