摘要: 一,单个view中: 写到方法最后fetch操作之前: //列出所有新房 public function list() { ... $config = $this->view->config; $config['jsname'] = ''; $this->assign('config', $conf 阅读全文
posted @ 2024-09-21 16:18 刘宏缔的架构森林 阅读(39) 评论(0) 推荐(0)
摘要: 一,以固定的速度提供服务 语法: 例子 limit_req_zone $binary_remote_addr zone=test:10m rate=2r/s; server { location / { limit_req zone=test; }} 语法: imit_req_zone 用于设置限流 阅读全文
posted @ 2024-09-21 15:07 刘宏缔的架构森林 阅读(440) 评论(0) 推荐(0)
摘要: 一,指定监控多个日志文件: 例子如下: [apache-w00tw00t] enabled = true filter = apache-w00tw00t action = iptables-allports logpath = /var/www/vhosts/site1.com/log/error 阅读全文
posted @ 2024-09-21 11:01 刘宏缔的架构森林 阅读(361) 评论(0) 推荐(0)