Update README.md
This commit is contained in:
@@ -140,8 +140,15 @@ client_keepalive = 600 # Seconds
|
|||||||
client_ack_timeout = 300 # Seconds
|
client_ack_timeout = 300 # Seconds
|
||||||
```
|
```
|
||||||
### Advanced
|
### Advanced
|
||||||
|
#### Listeners and Announce IPs
|
||||||
|
To specify listening address and/or address in links, add to the end of config.toml:
|
||||||
|
```toml
|
||||||
|
[[listeners]]
|
||||||
|
ip = "0.0.0.0" # 0.0.0.0 = all IPs; your IP = specific listening
|
||||||
|
announce_ip = "1.2.3.4" # IP in links
|
||||||
|
```
|
||||||
#### Upstream Manager
|
#### Upstream Manager
|
||||||
To specify upstream, add config.toml to the end:
|
To specify upstream, add to the end of config.toml:
|
||||||
##### Bind on IP
|
##### Bind on IP
|
||||||
```toml
|
```toml
|
||||||
[[upstreams]]
|
[[upstreams]]
|
||||||
|
|||||||
Reference in New Issue
Block a user