跳转到内容

SRE笔记

  • 密码
    • 短链
  • 服务器
  • 关于

lua标签存档订阅

nginx防盗链

普通的防盗链是通过referer来做,比如: location ~* \.(gif|jpg|png|… 继续阅读 nginx防盗链

  • 发表于: 2020-12-21 2020-12-21
  • 作者: sjx
  • 分类: SRE
  • 标签: bash, https, lua, nginx, 安全
  • 发表评论: nginx防盗链

configure: LUA library found at: /usr/lib64//liblua-5.1.so

报错 configure: LUA library found at: /usr/lib64//li… 继续阅读 configure: LUA library found at: /usr/lib64//liblua-5.1.so

  • 发表于: 2020-12-07 2020-12-07
  • 作者: sjx
  • 分类: SRE
  • 标签: bash, https, lua, yum
  • 发表评论: configure: LUA library found at: /usr/lib64//liblua-5.1.so

make[2]: *** No rule to make target `libinjection.h’, needed by `libinjection_wrap.c’. Stop.

报错: make[1]: Leaving directory `/opt/openresty-1.1… 继续阅读 make[2]: *** No rule to make target `libinjection.h’, needed by `libinjection_wrap.c’. Stop.

  • 发表于: 2020-11-21 2020-11-21
  • 作者: sre
  • 分类: SRE
  • 标签: lua, make
  • 发表评论: make[2]: *** No rule to make target `libinjection.h’, needed by `libinjection_wrap.c’. Stop.

编译安装OpenWAF

安装OpenWAF依赖 cd /opt yum install gcc gcc-c++ wget G… 继续阅读 编译安装OpenWAF

  • 发表于: 2020-11-21 2020-12-08
  • 作者: sre
  • 分类: SRE
  • 标签: http, https, lua, make, pcre, ssl, tar, WAF, 安全
  • 发表评论: 编译安装OpenWAF

LUA中表和字符串相互转换

ToStringEx function ToStringEx(value) if type(valu… 继续阅读 LUA中表和字符串相互转换

  • 发表于: 2020-10-26 2020-10-26
  • 作者: sre
  • 分类: 开发
  • 标签: lua
  • 发表评论: LUA中表和字符串相互转换

nginx lua redis 实现简单的防刷与限流

防刷 — access_by_lua_file ‘/opt/ops/lua/access_limi… 继续阅读 nginx lua redis 实现简单的防刷与限流

  • 发表于: 2019-11-29 2020-12-04
  • 作者: sre
  • 分类: SRE
  • 标签: lua, nginx, redis
  • 发表评论: nginx lua redis 实现简单的防刷与限流

nginx lua脚本输出文件内容

content_by_lua ‘ local_file = “/path…” local f =… 继续阅读 nginx lua脚本输出文件内容

  • 发表于: 2019-11-01 2021-05-18
  • 作者: sre
  • 分类: SRE
  • 标签: bash, https, I/O, lua, nginx
  • 发表评论: nginx lua脚本输出文件内容

Dockerfile:OpenResty

#pcre OpenSSL OpenResty lua Resty FROM centos:7.3.… 继续阅读 Dockerfile:OpenResty

  • 发表于: 2019-03-27 2021-04-02
  • 作者: joker
  • 分类: SRE
  • 标签: Docker, https, lua, make, pcre, tar
  • 发表评论: Dockerfile:OpenResty
armv8编译安装redis-stable

armv8编译安装redis-stable

环境 Ubuntu 16.04.4 LTS Linux version 3.14.29 gcc ve… 继续阅读 armv8编译安装redis-stable

  • 发表于: 2018-10-19 2021-05-18
  • 作者: admin
  • 分类: SRE, 开发
  • 标签: arm, lua, make, redis, tar
  • 发表评论: armv8编译安装redis-stable

lsyncd同步

inotify + rsync inotify过于灵敏,对文件的中间状态也会触发rsync操作;当存… 继续阅读 lsyncd同步

  • 发表于: 2017-12-07 2021-12-10
  • 作者: admin
  • 分类: SRE
  • 标签: code, https, inotify, Linux, lua, make, 工具, 网络
  • 发表评论: lsyncd同步

nginx开启lua支持

#LuaJIT mkdir -p /root/lua_ngx && cd /root/lua_ngx… 继续阅读 nginx开启lua支持

  • 发表于: 2017-11-29 2018-11-17
  • 作者: admin
  • 分类: SRE
  • 标签: http, Linux, lua, make, nginx, tar, 工具, 网络
  • nginx开启lua支持有 4 条评论

Nginx通过Lua Redis防止CC攻击

access_by_lua_file “/usr/local/nginx/conf/lua/waf.… 继续阅读 Nginx通过Lua Redis防止CC攻击

  • 发表于: 2014-05-22 2019-01-07
  • 作者: 站点默认
  • 分类: SRE
  • 标签: lua, nginx, redis, 安全, 网络

搜索

搜索:

近期评论

  • 周周 发表在《Kubernetes部署NextCloud网盘》
  • mysql m-s via gtid – SRE笔记 发表在《MySQL SET GTID_NEXT》
  • kangder 发表在《Kubernetes部署NextCloud网盘》
  • xs 发表在《Kubernetes部署NextCloud网盘》
  • test 发表在《gin不转义html标签》

标签

aws (15) bash (1123) Blockchain (28) centos (28) Docker (105) elasticsearch (26) eth (34) fil (39) go (129) golang (154) Grafana (13) hpc (15) http (299) https (1999) ingress (14) iptables (20) java (75) JVM (20) kubernetes (309) Linux (546) lotus (30) mongoDB (41) MySQL (184) nginx (112) php (25) python (148) redis (34) s3 (75) shell (20) springboot (32) tcp (69) tomcat (15) ubuntu (31) vue (18) windows (42) wordpress (14) zabbix (37) 夏小胖 (31) 安全 (55) 工具 (451) 折腾 (24) 推荐 (15) 硬件 (61) 网络 (246) 资源 (49)

归档

  • 2024 年 12 月
  • 2024 年 11 月
  • 2024 年 10 月
  • 2024 年 9 月
  • 2024 年 8 月
  • 2024 年 7 月
  • 2024 年 6 月
  • 2024 年 5 月
  • 2024 年 4 月
  • 2024 年 3 月
  • 2024 年 2 月
  • 2024 年 1 月
  • 2023 年 12 月
  • 2023 年 11 月
  • 2023 年 10 月
  • 2023 年 9 月
  • 2023 年 8 月
  • 2023 年 7 月
  • 2023 年 6 月
  • 2023 年 5 月
  • 2023 年 4 月
  • 2023 年 3 月
  • 2023 年 2 月
  • 2023 年 1 月
  • 2022 年 12 月
  • 2022 年 11 月
  • 2022 年 10 月
  • 2022 年 9 月
  • 2022 年 8 月
  • 2022 年 7 月
  • 2022 年 6 月
  • 2022 年 5 月
  • 2022 年 4 月
  • 2022 年 3 月
  • 2022 年 2 月
  • 2022 年 1 月
  • 2021 年 12 月
  • 2021 年 11 月
  • 2021 年 10 月
  • 2021 年 9 月
  • 2021 年 8 月
  • 2021 年 7 月
  • 2021 年 6 月
  • 2021 年 5 月
  • 2021 年 4 月
  • 2021 年 3 月
  • 2021 年 2 月
  • 2021 年 1 月
  • 2020 年 12 月
  • 2020 年 11 月
  • 2020 年 10 月
  • 2020 年 9 月
  • 2020 年 8 月
  • 2020 年 7 月
  • 2020 年 6 月
  • 2020 年 5 月
  • 2020 年 4 月
  • 2020 年 3 月
  • 2020 年 2 月
  • 2020 年 1 月
  • 2019 年 12 月
  • 2019 年 11 月
  • 2019 年 10 月
  • 2019 年 9 月
  • 2019 年 8 月
  • 2019 年 7 月
  • 2019 年 6 月
  • 2019 年 5 月
  • 2019 年 4 月
  • 2019 年 3 月
  • 2019 年 2 月
  • 2019 年 1 月
  • 2018 年 12 月
  • 2018 年 11 月
  • 2018 年 10 月
  • 2018 年 9 月
  • 2018 年 8 月
  • 2018 年 7 月
  • 2018 年 6 月
  • 2018 年 5 月
  • 2018 年 4 月
  • 2018 年 3 月
  • 2018 年 2 月
  • 2018 年 1 月
  • 2017 年 12 月
  • 2017 年 11 月
  • 2017 年 10 月
  • 2017 年 8 月
  • 2017 年 7 月
  • 2017 年 6 月
  • 2017 年 5 月
  • 2017 年 4 月
  • 2017 年 3 月
  • 2017 年 2 月
  • 2017 年 1 月
  • 2016 年 12 月
  • 2016 年 11 月
  • 2016 年 10 月
  • 2016 年 9 月
  • 2016 年 8 月
  • 2016 年 7 月
  • 2016 年 6 月
  • 2016 年 5 月
  • 2016 年 4 月
  • 2016 年 3 月
  • 2016 年 2 月
  • 2016 年 1 月
  • 2015 年 12 月
  • 2015 年 10 月
  • 2015 年 9 月
  • 2015 年 8 月
  • 2015 年 7 月
  • 2015 年 6 月
  • 2015 年 5 月
  • 2015 年 4 月
  • 2015 年 3 月
  • 2015 年 2 月
  • 2015 年 1 月
  • 2014 年 12 月
  • 2014 年 11 月
  • 2014 年 10 月
  • 2014 年 9 月
  • 2014 年 8 月
  • 2014 年 7 月
  • 2014 年 6 月
  • 2014 年 5 月
  • 2014 年 2 月