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>.
|
||||
|
||||
```
|
||||
curl http://localhost.daplie.me:3000 -H 'X-Forwarded-Proto: https'
|
||||
```bash
|
||||
curl -X POST http://localhost.daplie.me:3000 \
|
||||
-H 'X-Forwarded-Proto: https' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{
|
||||
domain: 'example.com'
|
||||
}'
|
||||
```
|
||||
|
||||
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
|
||||
|
||||
```
|
||||
cloud.<domain.tld>
|
||||
api.cloud.<domain.tld>
|
||||
```
|
||||
|
||||
and
|
||||
|
||||
```
|
||||
<domain.tld>
|
||||
www.<domain.tld>
|
||||
|
||||
api.<domain.tld>
|
||||
assets.<domain.tld>
|
||||
|
||||
cloud.<domain.tld>
|
||||
api.cloud.<domain.tld>
|
||||
```
|
||||
|
||||
Example `/etc/goldilocks/goldilocks.yml`:
|
||||
|
|
Loading…
Reference in New Issue