Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
loekd authored Jul 23, 2024
1 parent f4f471f commit 71fada7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions 03-Gateway/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ Please note that currently the **Gateway doesn't work when running with K3d**. S

- Open a terminal
- Call the Blue API:
- `curl http://localhost/blue/api/color/`
- `curl -HHost:test.loekd.com http://localhost/blue/api/color/`
- Path rewriting will strip the matched word from the path and forward the request to the downstream (blue) API.

- Call the Green API:
- `curl http://localhost/api/color/`
- `curl -HHost:test.loekd.com http://localhost/api/color/`
- No path rewriting configured, so the path will be forwarded to the downstream (green) API.

- Call the main site:
- `curl http://localhost`
- `curl -HHost:test.loekd.com http://localhost`
- No path rewriting configured, so the path will be forwarded to the downstream Nginx.


Expand All @@ -53,4 +53,4 @@ Please note that currently the **Gateway doesn't work when running with K3d**. S
- `kubectl delete ns test-demo03`

- `rad env delete test -y`
- `rad group delete test -y`
- `rad group delete test -y`

0 comments on commit 71fada7

Please sign in to comment.