mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-16 16:12:14 +11:00
📚🚧
This commit is contained in:
parent
03767fb61d
commit
3650bff3f0
1 changed files with 33 additions and 1 deletions
|
|
@ -88,10 +88,30 @@ make -j<threads>
|
|||
## Certs
|
||||
make sure to edit `config.json` adding the certificate location if you're using HTTPS, I personally use [certbot](https://certbot.eff.org/).
|
||||
```json
|
||||
{
|
||||
"listeners": [
|
||||
{
|
||||
"address": "0.0.0.0",
|
||||
"port": 80,
|
||||
"https": false
|
||||
},
|
||||
{
|
||||
"address": "0.0.0.0",
|
||||
"port": 443,
|
||||
"https": true,
|
||||
"cert": "",
|
||||
"key": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
editing
|
||||
```json
|
||||
"cert": "pubkey",
|
||||
"key": "privkey"
|
||||
```
|
||||
Alternatively you can delete this entire section
|
||||
|
||||
Alternatively you can delete this entire section (Disabling HTTPS in the proccess)
|
||||
```json
|
||||
{
|
||||
"address": "0.0.0.0",
|
||||
|
|
@ -101,4 +121,16 @@ Alternatively you can delete this entire section
|
|||
"key": ""
|
||||
}
|
||||
```
|
||||
leaving
|
||||
```json
|
||||
{
|
||||
"listeners": [
|
||||
{
|
||||
"address": "0.0.0.0",
|
||||
"port": 80,
|
||||
"https": false
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
**it is Highly recommened you secure your server**
|
||||
|
|
|
|||
Loading…
Reference in a new issue