Update config to new swaf version

This commit is contained in:
Alice Gaudon 2021-03-30 16:56:35 +02:00
parent faa728aacb
commit d223c9c77f
2 changed files with 58 additions and 54 deletions

View File

@ -1,7 +1,7 @@
{
app: {
name: 'Example App',
contact_email: 'contact@example.net'
contact_email: 'contact@example.net',
},
log_level: "DEV",
db_log_level: "ERROR",
@ -14,17 +14,17 @@
user: "root",
password: "",
database: "example_app",
create_database_automatically: false
create_database_automatically: false,
},
redis: {
host: "127.0.0.1",
port: 6379,
prefix: 'example_app'
prefix: 'example_app',
},
session: {
cookie: {
secure: false
}
secure: false,
},
},
mail: {
host: "127.0.0.1",
@ -37,7 +37,11 @@
from_name: 'Example App',
},
view: {
cache: false
cache: false,
},
auth: {
approval_mode: false,
// 30 days
name_change_wait_period: 2592000000,
},
}

View File

@ -5,11 +5,11 @@
public_websocket_url: "wss://watch-my.stream",
session: {
cookie: {
secure: true
}
secure: true,
},
},
mail: {
secure: true,
allow_invalid_tls: false
}
allow_invalid_tls: false,
},
}