摘要: 安装依赖: curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.pypython2.7 get-pip.pypip install psutilpip install datetime 脚本: [cat monitor 阅读全文
posted @ 2023-05-17 17:05 GaoYanbing 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 方案1 使用全局变量$args location /test { default_type text/html; # 获取 user_id 参数值 if ($args ~* "user_id=(\d+)") { set $user_id $1; } # 对最后两位数进行正则匹配 if ($user_ 阅读全文
posted @ 2023-05-17 11:20 GaoYanbing 阅读(466) 评论(0) 推荐(0) 编辑