fixes
This commit is contained in:
parent
ded4aa04c7
commit
7af0e9af58
2 changed files with 5 additions and 12 deletions
|
|
@ -17,8 +17,7 @@
|
|||
|
||||
# Address and port the server listens on for MTProto client connections.
|
||||
TELESRV_LISTEN=0.0.0.0:2398
|
||||
# Public IP or hostname clients should use to reach this server. Set this to
|
||||
# your server's real public IP (or domain) once you're past local testing.
|
||||
# Your server's public IP address.
|
||||
TELESRV_ADVERTISE_IP=127.0.0.1
|
||||
# Which "data center" number this server presents itself as. There's only
|
||||
# ever one physical server, so this normally stays 2 -- no need to change it.
|
||||
|
|
@ -133,9 +132,9 @@ TELESRV_REDIS_DB=0
|
|||
|
||||
## Public Web Listener -- Serves public profile pages, avatars, and sticker/emoji pack previews.
|
||||
|
||||
# Host:port this listens on (not a URL). In production, keep this on
|
||||
# loopback and let nginx (or similar) proxy public traffic to it.
|
||||
TELESRV_PUBLIC_LINK_WEB_ADDR=127.0.0.1:2401
|
||||
# Host:port this listens on (not a URL). Let nginx (or similar) proxy
|
||||
# public traffic to it rather than exposing this port directly.
|
||||
TELESRV_PUBLIC_LINK_WEB_ADDR=0.0.0.0:2401
|
||||
|
||||
## Telegram Login (OpenID Connect) -- Self-hosted "Log in with Telegram" for third-party sites.
|
||||
|
||||
|
|
|
|||
|
|
@ -825,13 +825,7 @@ SETUP_FIELDS: list[tuple[str, list[SetupField]]] = [
|
|||
("Server & Network", [
|
||||
SetupField(
|
||||
"TELESRV_ADVERTISE_IP", "Server public IP or hostname",
|
||||
"What clients use to reach this server -- your VPS's public IP, "
|
||||
"or a domain name if you have one pointed at it. Calls (TURN/SFU) "
|
||||
"are the one exception: they need a literal IP address, not a "
|
||||
"hostname, and default to reusing this value -- if you enter a "
|
||||
"hostname here and want calls to work, set "
|
||||
"TELESRV_TURN_ADVERTISE_IP / TELESRV_SFU_ADVERTISE_IP to a real "
|
||||
"IP separately afterward, from Configure .env.",
|
||||
"Your server's public IP address.",
|
||||
required=True,
|
||||
),
|
||||
]),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue