Closed kevin335200 closed 6 years ago
对于interface.music.163.com/music.163.com域名,配置nginx proxy_set_header X-Real-IP 之后跟一个可用的国内IP(上周挂了的原因就是因为那个IP失效了)
请问只改proxy_set_header X-Real-IP就可以嘛
目前的设置是这样的
# Cahce
proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=STATIC:10m inactive$
server {
listen 80;
listen [::]:80;
server_name music.163.com interface.music.163.com;
location / {
proxy_redirect off;
proxy_pass https://music.163.com/;
proxy_set_header X-Real-IP 某ip;
}
}
希望能给出配置方式比如nginx,自己也搭一个,thanks