|
在外面不愿意用百度搜索(太烂),bing不好用,用客户端太麻烦,一些第三方谷歌镜像站,不是要recaptcha,就是慢(当然也有好用的) 使用说明: 代码如下: |
auth_basic "Need Authenticate.";
auth_basic_user_file /home/.htpasswd; location / { #https://blog.51cto.com/fengwan/1979267 satisfy any; allow 58.242.0.0/15; deny all; subs_filter 'www.google.com.hk' 'ThisIsYourDomainName'; subs_filter_types text/css text/xml text/javascript; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Proto https; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Referer https://www.google.com.hk; proxy_set_header User-Agent $http_user_agent; proxy_set_header Host www.google.com.hk; proxy_pass https://www.google.com.hk; proxy_set_header Accept-Encoding ""; proxy_set_header Accept-Language "zh-CN"; proxy_set_header Cookie "PREF=ID=047808f19f6de346:U=0f62f33dd8549d11:FF=2:LD=en-US:NW=1:TM=1325338577:LM=1332142444:GM=1:SG=2:S=rE0SyJh2W1IQ-Maw"; proxy_cookie_domain www.google.com.hk ThisIsYourDomainName; }