Files
plugins/AllowIp/README.md
chorblack e75f275ef4
Some checks failed
定时更新GitHub源插件 / 自动更新GitHub插件 (push) Has been cancelled
Initial commit
2026-03-07 11:19:25 +08:00

20 lines
880 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Typecho 后台IP白名单插件 AllowIp
## 插件简介
设置后台管理IP白名单也就是说只允许IP白名单内的IP登陆访问后台。<br>
至于为什么要写这个插件是因为博客服务器用的是国外的vps搭建了酸酸乳在网站挂上了ssr来访问速度都一样的。
## 安装方法
1. 到[releases](https://github.com/fuzqing/AllowIp-Typecho-Plugin/releases)中下载最新版本插件;
2. 将下载的压缩包进行解压,文件夹重命名为`AllowIp`,上传至`Typecho`插件目录中;
3. 后台激活插件设置IP地址。
## 注意
如果你的IP设置不对或者访问网站时候没有使用酸酸乳之类的代理<br>
请打开"Plugin.php"文件中这一行的注释<br>
//$allow_ip[] = '0.0.0.0';<br>
打开保存之后就可以登陆了不过这样子这个IP白名单插件也就没意义了。