使用脚本前请确认curl已安装
bash <(curl -sSL "https://raw.githubusercontent.com/xb0or/nginx-mtproxy/main/mtp.sh")
或者
bash <(curl -sSL "https://cdn.jsdelivr.net/gh/xb0or/nginx-mtproxy@main/mtp.sh")
不保证可以成功使用,推荐进入docker内修改/etc/nginx/ip_white.conf 内容
bash <(curl -sSL "https://raw.githubusercontent.com/xb0or/nginx-mtproxy/main/mtp2.sh")
docker stop nginx-mtproxy
docker start nginx-mtproxy
docker restart nginx-mtproxy
docker rm nginx-mtproxy
docker update --restart=always nginx-mtproxy