Skip to content

Commit

Permalink
Replace seriyps.ru with seriyps.com
Browse files Browse the repository at this point in the history
The old domain no longer works
  • Loading branch information
seriyps committed Dec 4, 2024
1 parent 37497ff commit 247bd93
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)).
Expand Down
4 changes: 2 additions & 2 deletions src/mtproto_proxy.app.src
Original file line number Diff line number Diff line change
@@ -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,
Expand Down Expand Up @@ -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"]},
Expand Down

0 comments on commit 247bd93

Please sign in to comment.