有时出门在网吧或者去朋友家无法使用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路径。
最新评论
记得第一次拥有MP3 里边就有存有这首歌,满满的青春回忆
和和 2024-03-14
完全可以水一个插件😉
干货鱼 2024-03-10
我觉着这个快捷按钮还挺方便。
威言威语 2024-03-01
强迫症,哈哈哈
obaby 2024-02-22
这个东西不错,满满的干货啊
obaby 2024-02-20
现在用的家庭版,感觉用起来也没感觉少了什么功能,可能很多高级功能也用不到吧。
威言威语 2023-12-21
最近安装 win11 之后,我发现之前用激活 win10 的批处理,也能激活 win11.
obaby 2023-12-20