惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Security Affairs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Jina AI
Jina AI
P
Palo Alto Networks Blog
GbyAI
GbyAI
大猫的无限游戏
大猫的无限游戏
A
Arctic Wolf
Hugging Face - Blog
Hugging Face - Blog
小众软件
小众软件
Y
Y Combinator Blog
T
The Blog of Author Tim Ferriss
Blog — PlanetScale
Blog — PlanetScale
S
Schneier on Security
V
Vulnerabilities – Threatpost
C
Cybersecurity and Infrastructure Security Agency CISA
雷峰网
雷峰网
T
Tenable Blog
人人都是产品经理
人人都是产品经理
T
Tor Project blog
C
Cyber Attacks, Cyber Crime and Cyber Security
AWS News Blog
AWS News Blog
Microsoft Security Blog
Microsoft Security Blog
J
Java Code Geeks
Scott Helme
Scott Helme
SecWiki News
SecWiki News
C
CERT Recently Published Vulnerability Notes
Recorded Future
Recorded Future
I
InfoQ
Security Archives - TechRepublic
Security Archives - TechRepublic
Help Net Security
Help Net Security
Cloudbric
Cloudbric
C
Check Point Blog
Engineering at Meta
Engineering at Meta
TaoSecurity Blog
TaoSecurity Blog
B
Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园_首页
N
News and Events Feed by Topic
云风的 BLOG
云风的 BLOG
MyScale Blog
MyScale Blog
腾讯CDC
量子位
Application and Cybersecurity Blog
Application and Cybersecurity Blog
K
Kaspersky official blog
Vercel News
Vercel News
F
Full Disclosure
T
Troy Hunt's Blog
Forbes - Security
Forbes - Security
S
Security @ Cisco Blogs

Rat's Blog - 建站知识

189List:一个全新的天翼云网盘的目录列表程序,CTList升级版 - Rat's Blog TopDocs:一款美观实用的在线文档编辑系统,支持Markdown语法 - Rat's Blog 一个可以绑定多个OneDrive网盘的极简目录列表:OneList - Rat's Blog Navi:一个开源、美观且可以部署在GitHub Pages的网站导航程序 - Rat's Blog Shiori:一个简单、美观且带Web界面的书签管理器 - Rat's Blog 一款开源,美观,带后台管理的网址导航工具:WebStack-Laravel - Rat's Blog 一款基于Web的免费在线矢量图(SVG)编辑工具:Method-Draw - Rat's Blog 使用宝塔面板安装Rocket.Chat多功能团队聊天室 - Rat's Blog Lstu:一款简单、美观的轻量级网址缩短程序 - Rat's Blog
一个简单的PHP Web代理:miniProxy - Rat's Blog
博主: Rat's · 2019-08-09 · via Rat's Blog - 建站知识

说明:miniProxy是一个用PHP编写的简单Web代理,可以让您绕过网页过滤器,或匿名浏览网页。一般我们可以拿来访问谷歌查询学习资料等,对于谷歌重度使用者或者需要经常使用谷歌的团队/班级来说,还是挺方便的,毕竟不用梯子就可以直接访问谷歌了。

手动安装

GitHub地址:https://github.com/joshdick/miniProxy

环境要求:PHP >= 5.4.7,并且要求安装PHP curlmbstring拓展;建议使用域名并开启HTTPS;如果想访问谷歌等,则需要国外服务器。

手动只推荐有现成环境的,比如已经装过宝塔面板或者其它的LNMP安装包等,然后直接访问上面的Github地址,将PHP文件下载并上传至网站根目录,最后直接访问即可。

Docker安装

由于官方的界面太简陋了,于是某大佬花了几分钟改了下,比官方的稍微好点了,这里就直接做成了Docker镜像,拉取镜像的时候,建议直接使用域名访问,期间会自动给你配置SSL,用IP可能会出现很多未知问题。

修改后的截图如下:
请输入图片描述

1、安装Docker

#CentOS 6
rpm -iUvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum update -y
yum -y install docker-io
service docker start
chkconfig docker on

#CentOS 7、Debian、Ubuntu
curl -sSL https://get.docker.com/ | sh
systemctl start docker
systemctl enable docker

2、拉取镜像

#使用ip访问,不建议选择
docker run --name miniproxy -d \
--restart=always \
-p 80:80 \
moerats/miniproxy

#使用域名访问,请修改为自己的域名后运行
docker run --name miniproxy -d \
--restart=always \
-p 80:80 \
-p 443:443 \
-e domain=www.moerats.com \
moerats/miniproxy

使用域名访问的话,请提前解析好域名并生效,不然给你签发SSL证书的时候会失败,导致打不开等情况。

最后可能对有些网站效果不太好,特别是视频网站,当然大部分网站效果还是不错的。


版权声明:本文为原创文章,版权归 Rat's Blog 所有,转载请注明出处!

本文链接:https://www.moerats.com/archives/992/

如教程需要更新,或者相关链接出现404,可以在文章下面评论留言。