Update README.md
This commit is contained in:
parent
71014cec27
commit
73e4aaa75d
19
README.md
19
README.md
|
@ -72,8 +72,13 @@ Initial Configuration
|
||||||
|
|
||||||
Once installed and started you can visit <https://localhost.daplie.me:3000>.
|
Once installed and started you can visit <https://localhost.daplie.me:3000>.
|
||||||
|
|
||||||
```
|
```bash
|
||||||
curl http://localhost.daplie.me:3000 -H 'X-Forwarded-Proto: https'
|
curl -X POST http://localhost.daplie.me:3000 \
|
||||||
|
-H 'X-Forwarded-Proto: https' \
|
||||||
|
-H 'Content-Type: application/json' \
|
||||||
|
-d '{
|
||||||
|
domain: 'example.com'
|
||||||
|
}'
|
||||||
```
|
```
|
||||||
|
|
||||||
API
|
API
|
||||||
|
@ -139,15 +144,19 @@ POST https://api.<domain.tld>/api/walnut@daplie.com/init
|
||||||
|
|
||||||
The following domains are required to point to WALNUT server
|
The following domains are required to point to WALNUT server
|
||||||
|
|
||||||
|
```
|
||||||
|
cloud.<domain.tld>
|
||||||
|
api.cloud.<domain.tld>
|
||||||
|
```
|
||||||
|
|
||||||
|
and
|
||||||
|
|
||||||
```
|
```
|
||||||
<domain.tld>
|
<domain.tld>
|
||||||
www.<domain.tld>
|
www.<domain.tld>
|
||||||
|
|
||||||
api.<domain.tld>
|
api.<domain.tld>
|
||||||
assets.<domain.tld>
|
assets.<domain.tld>
|
||||||
|
|
||||||
cloud.<domain.tld>
|
|
||||||
api.cloud.<domain.tld>
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Example `/etc/goldilocks/goldilocks.yml`:
|
Example `/etc/goldilocks/goldilocks.yml`:
|
||||||
|
|
Loading…
Reference in New Issue