使用脚本前请确认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 stop nginx-mtproxy
docker start nginx-mtproxy
docker restart nginx-mtproxy
docker rm nginx-mtproxy
docker update --restart=always nginx-mtproxy