We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在非CN服务器通过docker部署了本项目
docker run -d -p 12345:8080 -m 300M --memory-swap -1 -e ENABLE_LOCAL_VIP=true -e NO_CACHE=true -e ENABLE_FLAC=true -e NODE_ENV=production --restart=always --log-opt max-size=10m --name=win_music pan93412/unblock-netease-music-enhanced:latest -e https://music.163.com
会员歌曲仍然无法解决。LOCAL_VIP 是可以的。
LOCAL_VIP
请问国外机是不是无解?
No response
all
The text was updated successfully, but these errors were encountered:
需要自己修改请求头用X-Forwarded-For IP伪装为国内IP解决海外地区版权受限问题
Sorry, something went wrong.
大佬能够进一步指点一下吗?如何修改呢?用nginx?
server { listen 12345; server_name music.example.com; access_log /www/wwwroot/music/music.log; error_log /www/wwwroot/music/music.error; location / { proxy_set_header Host $host; proxy_set_header X-Forwarded-For {fake-ip} ; proxy_pass http://127.0.0.1:5163; } }
其中5163端口为本项目服务,通过nginx转发到12345端口
5163
可是我通过12345还是不行
修改项目源码,在api的请求头上面加ip伪装,比如kuwo request('GET', url, { 'user-agent': 'okhttp/3.10.0' }) 改成 request('GET', url, { 'user-agent': 'okhttp/3.10.0','X-Forwarded-For':'ip' })
No branches or pull requests
需求描述
在非CN服务器通过docker部署了本项目
会员歌曲仍然无法解决。
LOCAL_VIP
是可以的。请问国外机是不是无解?
预期行为
No response
网易云音乐版本号
No response
操作系统
all
其他信息
No response
The text was updated successfully, but these errors were encountered: