• 欢迎访问db1024网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏db1024吧

一个简单的PHP Web代理:miniProxy

建站知识 Liam 1年前 (2019-08-09) 663次浏览 5个评论 扫描二维码
文章目录[隐藏]

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

手动安装

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

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

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

Docker安装

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

修改后的截图如下:
一个简单的PHP Web代理:miniProxy

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证书的时候会失败,导致打不开等情况。

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


db1024 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:一个简单的PHP Web代理:miniProxy
喜欢 (3)
关于作者:
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
(5)个小伙伴在吐槽
  1. I'm pretty pleased to find this website. I want to to thank you for your time for this particularly fantastic read!! I definitely really liked every little bit of it and I have you book-marked to see new stuff in your website.
    black mass2020-08-31 07:34 回复 Linux | Firefox浏览器 52.9
  2. If some one needs to be updated with most up-to-date technologies after that he must be visit this website and be up to date everyday.
    cheap flights2020-08-27 12:49 回复 Mac OS X | Chrome 66.0.3359.181
  3. Today, I went to the beach front with my children. I found a sea shell and gave it to my 4 year old daughter and said "You can hear the ocean if you put this to your ear." She placed the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to go back! LoL I know this is entirely off topic but I had to tell someone! cheap flights 34pIoq5
    cheap flights2020-08-25 12:12 回复 Linux | Firefox浏览器 52.9
  4. Howdy! I know this is kinda off topic but I'd figured I'd ask. Would you be interested in trading links or maybe guest authoring a blog article or vice-versa? My site goes over a lot of the same topics as yours and I think we could greatly benefit from each other. If you might be interested feel free to shoot me an email. I look forward to hearing from you! Fantastic blog by the way!
    content hosting2020-08-14 16:16 回复 未知操作系统 | Chrome 43.0.2357.125
  5. After exploring a handful of the blog posts on your web site, I honestly appreciate your technique of writing a blog. I saved it to my bookmark site list and will be checking back in the near future. Please check out my web site too and let me know what you think.
    best web hosting 20202020-08-11 00:57 回复 未知操作系统 | Chrome 43.0.2357.125