其他都没有问题,但是点击搜索( 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;
}
}
1
cydian 2018-07-28 13:14:50 +08:00 via Android 1
subs_filter https://www.abc.com cl.getpocket.in;
修正为 subs_filter https://www.abc.com https://cl.getpocket.in; |
2
cydian 2018-07-28 13:18:24 +08:00 via Android
你把完整路径替换成了相对路径。
看你描述情况都能知道问题所在了(这个 bug 特征不是某些新手常遇的吗?)。 |
3
sheldor 2018-07-28 13:51:36 +08:00 via Android
1024 的反向代理吗?
|
6
donething 2018-07-28 17:59:43 +08:00
不错。。
|