diff --git a/Makefile b/Makefile index 15d1d0e..1d89693 100644 --- a/Makefile +++ b/Makefile @@ -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: diff --git a/README.md b/README.md index d076126..a5b5632 100644 --- a/README.md +++ b/README.md @@ -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)). diff --git a/src/mtproto_proxy.app.src b/src/mtproto_proxy.app.src index 7510032..91709f2 100644 --- a/src/mtproto_proxy.app.src +++ b/src/mtproto_proxy.app.src @@ -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"]},