server {
listen 80;
server_name wechat.xxx.xx;
location / {
proxy_pass http://127.0.0.1:10000;
proxy_set_header X-Real-IP $remote_addr;
}
}
ssh wechat.xxx.xx -R 10000:127.0.0.1:8000
本地web 8000
本地开个 dnsmasq 让 iOS 或 Android 设备用本地的 dns