https://github.com/chiruom/jquery.danmu.js 例子 https://zhuanlan.zhihu.com/p/23992890
php websocket各种插件收集整理
http://www.socketo.me/docs/hello-world https://github.com/Devristo/phpws http://socketo.me Ratchet 为 php 封装的一个…
php websocket 收集
Ratchet 官方 http://www.socketo.me 开源 https://github.com/ratchetphp/Ratchet 文档 http://www.socketo.me/docs/hello-…
nginx 变量例子
$1 你前面正则圆括号匹配的内容 $host 示例 www.xxx.com 就是主机 $request_filename 示例 /var/www/path/to/index.php 物理路径和文件,不含链接参数 $fas…
nginx 自制lua删除静态缓存
nginx缓存有两种 一种是临时缓存,可以proxy_cache_purge可以清除 配置示例如下: 一种是永久缓存,文件放在硬盘上,这种只能想别的办法删除静态文件,但是需要lua扩展
ubuntu nginx 安装方式测试
1.编译安装,这里就不介绍了,关于第三方扩展编译方式安装 参考: 2.简洁安装 apt install nginx 默认 3.扩展安装 apt install nginx-extras libnginx-mod-http…
nginx naxsi 防火墙
https://github.com/nbs-system/naxsi
nginx geoip
nginx自带geoip模块 如果你的版本没有,请安装 更新Apt source list $ sudo add-apt-repository ppa:nginx/stable $ sudo apt-get update…
win系统ipv6经常掉线办法
因为win系统默认会分配临时ipv6地址,禁用以后网络就稳定了 通过ipconfig查看,有3个ipv6地址,一个正式,一个临时,一个fe80是内网 开始-〉运行-〉CMD 顺序执行以下命令 netsh int ipv6…