技术解析
其他都没有问题,但是点击搜索( http://www.abc.com/search.php )的时候会跳转到这个链接( https://cl.getpocket.in/cl.getpocket.in/search.php ) 不应该是 https://cl.getpocket.in/search.php 吗?
abc.com 是好人一生平安的网站~~ 感谢
location / {
proxy_redirect off;
proxy_cookie_domain abc.com cl.getpocket.in;
proxy_pass https://www.abc.com;
proxy_connect_timeout 60s;
proxy_read_timeout 5400s;
proxy_send_timeout 5400s;
proxy_set_header Host "www.abc.com";
proxy_set_header User-Agent $http_user_agent;
proxy_set_header Referer https://www.abc.com;
proxy_set_header Accept-Encoding "";
proxy_set_header X-Real-IP $remote_addr;
proxy_set美国服务器_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
subs_filter https://www.abc.com cl.getpocket.in;
#subs_filter_types text/css text/xml text/javascript;
sub_filter_once off;
}
}