tee /etc/nginx/conf.d/ssh.conf <<-'EOF'
server {
listen 80;
listen [::]:80;
server_name 127.0.0.1 localhost 210.21.48.11;
access_log /var/log/nginx/ssh_access.log main;
location /8888 {
proxy_pass http://127.0.0.1:8888;
}
}
EOF
nginx -s reload
docker run --network=host -v /etc/nginx/conf.d/ssh.conf:/etc/nginx/conf.d/ssh.conf -i --rm nginx
docker run --network=host -it --rm nginx bash
nohup /docker-entrypoint.sh nginx -g 'daemon off;' &
ssh -N -R 210.21.48.69:8888:192.168.3.14:8888 ljf@210.21.48.69 -p 10086