You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/README.md
+31-16Lines changed: 31 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,7 @@ We have two toml sections so far
53
53
addr = "0.0.0.0"
54
54
port = 443
55
55
httpport = 80
56
+
clientsport = 18000
56
57
```
57
58
58
59
in `[server]` section we define the listening interface/port the tcprouter intercepting: typically that's 443 for TLS connections.
@@ -64,7 +65,7 @@ in `[server]` section we define the listening interface/port the tcprouter inter
64
65
type = "redis"
65
66
addr = "127.0.0.1"
66
67
port = 6379
67
-
refresh = 10
68
+
refresh = 5
68
69
```
69
70
70
71
in `server.dbbackend` we define the backend kv store and its connection information `addr,port` and how often we want to reload the data from the kv store using `refresh` key in seconds.
is small network component that's supposed to live in a container (on a private network) and it will connect to tcprouter and allows sockets to be forwarded into the container using a handshake
203
203
204
+
## Examples
205
+
206
+
Adding records in backend as the previous [example](#examples), but instead of `addr`, `tlsport` and `httpport` in the record, `clientsecret` will be used.
0 commit comments