Replace seriyps.ru with seriyps.com

The old domain no longer works
This commit is contained in:
Sergey Prokhorov 2024-12-04 12:27:18 +01:00
parent 37497fff04
commit 247bd9339b
No known key found for this signature in database
GPG key ID: 1C570244E4EF3337
3 changed files with 4 additions and 4 deletions

View file

@ -25,7 +25,7 @@ config/prod-sys.config: config/sys.config.example
config/prod-vm.args: config/vm.args.example
[ -f $@ ] && diff -u $@ $^ || true
cp -i -b $^ $@
@IP=$(shell curl -s -4 -m 10 http://ip.seriyps.ru || curl -s -4 -m 10 https://digitalresistance.dog/myIp) \
@IP=$(shell curl -s -4 -m 10 http://ip.seriyps.com || curl -s -4 -m 10 https://digitalresistance.dog/myIp) \
&& sed -i s/@0\.0\.0\.0/@$${IP}/ $@
user:

View file

@ -414,7 +414,7 @@ share their credentials with others. To add client's fake domain to whitelist:
mtp_policy_table:add(customer_domains, tls_domain, "my-client1.example.com").'
```
And then use http://seriyps.ru/mtpgen.html to generate unique link for them.
And then use https://seriyps.com/mtpgen.html to generate unique link for them.
Be aware that domains table will be reset if proxy is restarted! Make sure you re-add them
when proxy restarts (eg, via [systemd hook script](https://unix.stackexchange.com/q/326181/70382)).

View file

@ -1,6 +1,6 @@
{application, mtproto_proxy,
[{description, "High-performance Telegram MTProto proxy server"},
{vsn, "0.7.1"},
{vsn, "0.7.3"},
{registered, []},
{mod, { mtproto_proxy_app, []}},
{applications,
@ -66,7 +66,7 @@
%% `ip_lookup_services' will be tried one-by-one: if 1st is not responding,
%% 2nd one will be tried and so on
{ip_lookup_services,
["http://ipv4.seriyps.ru/",
["http://ipv4.seriyps.com/",
"http://v4.ident.me/",
"http://ipv4.icanhazip.com/",
"https://digitalresistance.dog/myIp"]},