chore: Reformat some code and docs

This commit is contained in:
TwiN
2022-06-12 19:13:50 -04:00
parent 2b9d3e99d3
commit 6d64c3c250
2 changed files with 14 additions and 25 deletions

View File

@ -314,11 +314,11 @@ endpoints:
- "[STATUS] == 200"
```
This example shows how you can use a `custom DNS Resolver`:
This example shows how you can specify a custom DNS resolver:
```yaml
endpoints:
- name: website
url: "https://your.health.api/getHealth"
- name: with-custom-dns-resolver
url: "https://your.health.api/health"
client:
dns-resolver: "tcp://1.1.1.1:53"
conditions:
@ -328,8 +328,8 @@ endpoints:
This example shows how you can use the `client.oauth2` configuration to query a backend API with `Bearer token`:
```yaml
endpoints:
- name: website
url: "https://your.health.api/getHealth"
- name: with-custom-oauth2
url: "https://your.health.api/health"
client:
oauth2:
token-url: https://your-token-server/token