nginx转发
https://github.com/branchzero/yapi-docker
mkdir -p /www/yapi
cd /www && git clone https://github.com/branchzero/yapi-docker.git yapi
chmod -R 777 /www/yapi
docker-compose up -d
访问 http://192.168.33.70:3000
可在nginx配置下面的域名 后通过域名访问
server {
listen 80;
server_name your.domain;
keepalive_timeout 70;
location / {
proxy_pass http://192.168.33.70:3000;
}
location ~ /\. {
deny all;
}
}

浙公网安备 33010602011771号