mirror of https://github.com/telemt/telemt.git
docs: update README with new 'announce' parameter
Replace deprecated 'announce_ip' example with new 'announce' parameter that supports both hostnames and IP addresses.
This commit is contained in:
parent
a0e7210dff
commit
478fc5dd89
|
|
@ -231,7 +231,9 @@ listen_addr_ipv6 = "::"
|
||||||
# Listen on multiple interfaces/IPs (overrides listen_addr_*)
|
# Listen on multiple interfaces/IPs (overrides listen_addr_*)
|
||||||
[[server.listeners]]
|
[[server.listeners]]
|
||||||
ip = "0.0.0.0"
|
ip = "0.0.0.0"
|
||||||
# announce_ip = "1.2.3.4" # Optional: Public IP for tg:// links
|
# announce = "my.hostname.tld" # Optional: hostname for tg:// links
|
||||||
|
# OR
|
||||||
|
# announce = "1.2.3.4" # Optional: Public IP for tg:// links
|
||||||
|
|
||||||
[[server.listeners]]
|
[[server.listeners]]
|
||||||
ip = "::"
|
ip = "::"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue