有时出门在网吧或者去朋友家无法使用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路径。
最新评论
下载不了啊
博主,我想问一下如何更新缓存啊?我更新了头像,迟迟不能更新
谢谢楼主,2023年11月,极1S安装成功。
你好,方便了解下wp的这个主题么,非常适合码字,看footer没有搜到,有参考或者分享么,谢谢。
不太清楚站长的情况,我把UA含有Apache-HttpClient字段的访问拦击了,文章被爬虫自动抓取发布的情况就大幅好转了。
哈哈,以上都不好用,鉴定完毕!
换服务器了?