mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 12:54:01 +03:00
FILE / ScuroNeko/mtg
internal/config/testdata/public_ip.toml
Исходный файл и его история в репозитории.
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
5 lines
129 B
TOML
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"
|