作者陈永鹏的csdn博客地址:http://blog.csdn.net/chenyoper
作者陈永鹏的博客园地址:http://www.cnblogs.com/Yoperchen/
作者陈永鹏的零零糖地址:http://www.linglingtang.com/index.php?s=User/Index/index&user_id=1
一大波谷歌镜像来袭~
科学上网有益身心。
https://g.inspire-energy.com.cn/
尽管有这么多的谷歌镜像网站可以使用,但是总会用着用着就失联了。
这个时候,就需要广大小伙伴愈战愈勇了。
那么,
如何拥有自己的谷歌镜像站,
首先,有一台能访问谷歌的服务器,一般都在海外的啦。
接着,nginx配置如下(把www.linglingtang.com 改成自己的域名):
server { listen 80; server_name www.linglingtang.com; location / { proxy_pass https://www.google.com; proxy_connect_timeout 100; proxy_read_timeout 500; proxy_send_timeout 500; send_timeout 500; proxy_redirect off; proxy_set_header X-Real-IP $remote_addr; # proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } }
尽量过滤敏感词汇,否则可能被封!
如果你有不错的谷歌镜像,可以告诉我,我再持续更新。
欢迎加入我的技术群,群号在左边,如果没有,那就是你看的是盗版网站复制我的文章了,好忧伤。
搜索陈永鹏Yoper会有更多文章哦。