Skip to content

Commit

Permalink
docs: update docs with hosts examples
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianoliveira committed May 22, 2023
1 parent 317f15a commit 8630916
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ In case of errors / it doesn't work, please look at the detailed config session

#### OS X / Linux
```
echo "ergoproxy http://localhost:3000" > .ergo
echo "http://localhost:3000 ergoproxy" > .ergo
ergo run
```

Expand All @@ -112,7 +112,7 @@ Ergo redirects anything ending with `.dev` to the configured url.
You should not use the default `.dev` domain, we suggest `.test` instead (see [#58](https://github.com/cristianoliveira/ergo/issues/58)) unless your service supports https out of the box and you have already a certificate
```
set ERGO_DOMAIN=.test
echo ergoproxy http://localhost:3000 > .ergo
echo "http://localhost:3000 ergoproxy" > .ergo
ergo list # you shouldn't see any quotas in the output
ergo run
```
Expand All @@ -123,7 +123,7 @@ Simple, right? No magic involved.

Do you want to add more services? It's easy, just add more lines in `.ergo`:
```
echo "otherservice http://localhost:5000" >> .ergo
echo "http://localhost:5000 otherservice" >> .ergo
ergo list
ergo run
```
Expand Down

0 comments on commit 8630916

Please sign in to comment.