Skip to content

Commit 3b0e8f8

Browse files
author
SamSyntax
committed
updating README
1 parent 4ff47dc commit 3b0e8f8

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ When using the -env external flag, the load balancer will read server informatio
4343
---
4444
- addr: https://facebook.com
4545
weight: 2
46-
- addr: https://framed-designs.com
46+
- addr: https://twitch.tv
4747
weight: 1
4848
- addr: https://google.com
4949
weight: 3
@@ -93,6 +93,18 @@ forwarding to "https://twitch.tv"
9393
forwarding to "https://google.com"
9494
```
9595

96+
## Port flag
97+
We can pass <b>-srv-port</b> flag to specify port for local servers and <b>-port</b> flag to specify port for load balancer
98+
```bash
99+
./lb -port 8000 -lb-port 7000
100+
```
101+
102+
## Health check
103+
We are able to run health check on external servers listed in the config file
104+
```bash
105+
./lb -healthCheck -path ./servers.yaml
106+
```
107+
96108
# License
97109
This project is open-source and available under the MIT License.
98110

0 commit comments

Comments
 (0)