Update README.md

This commit is contained in:
AJ ONeal 2017-07-31 16:21:33 -06:00
parent 71014cec27
commit 73e4aaa75d
1 changed files with 14 additions and 5 deletions

View File

@ -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`: