mkdir api-proxy-cli cd api-proxy-cli curl -L -o config.yaml https://raw.githubusercontent.com/router-for-me/CLIProxyAPI/main/config.example.yaml
docker run -d --rm -p 8317:8317 -v ~/api-proxy-cli/config.yaml:/CLIProxyAPI/config.yaml eceasy/cli-proxy-api:latest
ssh -L 1455:127.0.0.1:1455 root@xx.xx.xx.xx -p 22
docker exec -it <容器ID或名称> /CLIProxyAPI/CLIProxyAPI --codex-login --no-browser
docker run -d --name my-nginx --restart unless-stopped --add-host=host.docker.internal:host-gateway -p 80:80 -v /etc/nginx/nginx.conf:/etc/nginx/nginx.conf nginx:latest
|