mirror of
https://github.com/Expand-sys/CCash
synced 2026-03-22 12:37:08 +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
|
## Certs
|
||||||
make sure to edit `config.json` adding the certificate location if you're using HTTPS, I personally use [certbot](https://certbot.eff.org/).
|
make sure to edit `config.json` adding the certificate location if you're using HTTPS, I personally use [certbot](https://certbot.eff.org/).
|
||||||
```json
|
```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",
|
"cert": "pubkey",
|
||||||
"key": "privkey"
|
"key": "privkey"
|
||||||
```
|
```
|
||||||
Alternatively you can delete this entire section
|
|
||||||
|
Alternatively you can delete this entire section (Disabling HTTPS in the proccess)
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"address": "0.0.0.0",
|
"address": "0.0.0.0",
|
||||||
|
|
@ -101,4 +121,16 @@ Alternatively you can delete this entire section
|
||||||
"key": ""
|
"key": ""
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
leaving
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"listeners": [
|
||||||
|
{
|
||||||
|
"address": "0.0.0.0",
|
||||||
|
"port": 80,
|
||||||
|
"https": false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
```
|
||||||
**it is Highly recommened you secure your server**
|
**it is Highly recommened you secure your server**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue