enabling https

This commit is contained in:
2024-11-27 00:47:31 +07:00
parent b50b38cf4b
commit 66a34a0119
3 changed files with 25 additions and 4 deletions

View File

@ -11,7 +11,12 @@
"max_body": "50mb",
"max_upload": 104857600,
"morgan": "combined",
"cors": "*"
"cors": "*",
"ssl": {
"enable": false,
"cert": "",
"key": ""
}
},
"database": {
"engine": "postgres",

View File

@ -11,7 +11,12 @@
"max_body": "50mb",
"max_upload": 104857600,
"morgan": "combined",
"cors": "*"
"cors": "*",
"ssl": {
"enable": true,
"cert": "/etc/letsencrypt/live/bri-dev.shiblysolution.id/fullchain.pem",
"key": "/etc/letsencrypt/live/bri-dev.shiblysolution.id/privkey.pem"
}
},
"database": {
"engine": "postgres",