mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
certificates
This commit is contained in:
parent
da2a27bc85
commit
0a899d1627
2 changed files with 10 additions and 1 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -27,3 +27,7 @@ node_modules
|
||||||
|
|
||||||
# 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