mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-21 20:54:58 +05:00
certificates
This commit is contained in:
parent
da2a27bc85
commit
0a899d1627
2 changed files with 10 additions and 1 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -26,4 +26,8 @@ node_modules
|
||||||
/json.sqlite
|
/json.sqlite
|
||||||
|
|
||||||
# Sessions Store
|
# Sessions Store
|
||||||
sessions
|
sessions
|
||||||
|
|
||||||
|
# SSL
|
||||||
|
/*.crt
|
||||||
|
/*.key
|
|
@ -42,6 +42,11 @@ module.exports.load = async client => {
|
||||||
id: client.config.user,
|
id: client.config.user,
|
||||||
secret: client.config.dashboard.secret,
|
secret: client.config.dashboard.secret,
|
||||||
},
|
},
|
||||||
|
SSL: {
|
||||||
|
enabled: true,
|
||||||
|
key: "../jababot-cloudflare.key",
|
||||||
|
cert: "../jababot-cloudflare.crt",
|
||||||
|
},
|
||||||
cookiesSecret: client.config.dashboard.secret,
|
cookiesSecret: client.config.dashboard.secret,
|
||||||
domain: client.config.dashboard.domain,
|
domain: client.config.dashboard.domain,
|
||||||
redirectUri: `${client.config.dashboard.domain}${client.config.dashboard.port !== 80 ? `:${client.config.dashboard.port}` : ""}/discord/callback`,
|
redirectUri: `${client.config.dashboard.domain}${client.config.dashboard.port !== 80 ? `:${client.config.dashboard.port}` : ""}/discord/callback`,
|
||||||
|
|
Loading…
Reference in a new issue