有时出门在网吧或者去朋友家无法使用SSR,懒得下载软件填写参数又想直接使用google搜索资料,直接搞了一个Google反代使用,只能使用google基本的搜索功能,无法使用其他服务,如需其他服务请自行反代你所需要的服务。
Nginx 反代 Google 配置:
server {
listen 443;
listen [::]:443;
server_name xxx.xxx.xxx;
ssl on;
ssl_certificate /root/.acme.sh/sep.cc/fullchain.cer;
ssl_certificate_key /root/.acme.sh/sep.cc/sep.cc.key;
location / {
proxy_redirect off;
proxy_pass https://www.google.com;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Accept-Encoding "";
sub_filter www.google.com xxx.xxx.xxx;
sub_filter_once off;
}
}
自行替换"xxx"以及SSL路径。
最新评论
确实就是一台电脑了
用过,还不错。
使用了博主的gravatar头像镜像源,特来表示感谢!
大赞,跟着你的步骤刷机切卡成功。按这个步骤应该也能刷openwrt吧,不知道有没有固件。
价格如何
能玩2077?真不错
hi,帮我换下链接吧,https://h4ck.org.cn 换成https://zhongxiaojie.cn