diff --git a/Makefile b/Makefile index 504fd59..428f1b8 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 $^ $@ || true cp -i -b $^ $@ - @IP=$(shell curl -s http://ip.seriyps.ru || curl -s https://digitalresistance.dog/myIp) \ + @IP=$(shell curl -s -4 -m 10 http://ip.seriyps.ru || curl -s -4 -m 10 https://digitalresistance.dog/myIp) \ && sed -i s/@0\.0\.0\.0/@$${IP}/ $@ user: diff --git a/config/vm.args.example b/config/vm.args.example index cf57fbd..82ae063 100644 --- a/config/vm.args.example +++ b/config/vm.args.example @@ -3,4 +3,6 @@ -setcookie mtproto-proxy-cookie ## this one is essential for >500 connections -+K true \ No newline at end of file ++K true ++A 2 ++SDio 2