mirror of
https://github.com/seriyps/mtproto_proxy.git
synced 2026-08-04 07:08:10 +00:00
Replace seriyps.ru with seriyps.com
The old domain no longer works
This commit is contained in:
parent
37497fff04
commit
247bd9339b
3 changed files with 4 additions and 4 deletions
2
Makefile
2
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:
|
||||
|
|
|
|||
|
|
@ -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)).
|
||||
|
||||
|
|
|
|||
|
|
@ -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"]},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue