FILE / ScuroNeko/mtg

internal/config/testdata/public_ip.toml

Исходный файл и его история в репозитории.
FILE 8b3c622ea6e0b92c45f22b33e422538e772aaa1e
Files
mtg/internal/config/testdata/public_ip.toml
T
Alexey Dolotov 2b07c0037e Add public-ipv4/public-ipv6 config options for manual IP override
On some servers ifconfig.co is unreachable (e.g. Hetzner, AdGuard DNS
blocklists), causing 'mtg doctor' SNI-DNS check and 'mtg access' link
generation to fail. New config options allow specifying public IPs
manually, with automatic detection as fallback.

Fixes #405
2026-03-29 00:47:49 +03:00

5 lines
129 B
TOML

secret = "7oe1GqLy6TBc38CV3jx7q09nb29nbGUuY29t"
bind-to = "0.0.0.0:3128"
public-ipv4 = "203.0.113.1"
public-ipv6 = "2001:db8::1"