mirror of
https://github.com/seriyps/mtproto_proxy.git
synced 2026-08-04 15:19:47 +00:00
Ease debugging
use fully qualified node name
This commit is contained in:
parent
1253fdc844
commit
d4b8c76cdf
2 changed files with 3 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -15,6 +15,8 @@ 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) \
|
||||
&& sed -i s/@0\.0\.0\.0/@$${IP}/ $@
|
||||
|
||||
user:
|
||||
sudo useradd -r $(USER) || true
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
-sname mtproto_proxy
|
||||
-name mtproto_proxy@0.0.0.0
|
||||
|
||||
-setcookie mtproto-proxy-cookie
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue