上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 46 下一页
摘要: 源码: 如果用户多次登录错误, 则登录IP会被封一段时间 def _on_login_cooldown(self, failures, previous): """ Decides whether the user trying to log in is currently "on cooldown 阅读全文
posted @ 2022-02-15 16:08 那时一个人 阅读(371) 评论(0) 推荐(0)
摘要: 参考 https://blog.csdn.net/qq_35620501/article/details/95047642 重点: nginx 的ip_hash session 存储到redis中. 阅读全文
posted @ 2022-01-13 13:47 那时一个人 阅读(267) 评论(0) 推荐(0)
摘要: 如果odoo 服务太多的话,一个一个的重启会比较麻烦 写一个python脚本来批量重启: import paramiko import configparser def get_conf(): cf = configparser.ConfigParser() cf.read('./data/serv 阅读全文
posted @ 2022-01-12 17:46 那时一个人 阅读(212) 评论(0) 推荐(0)
摘要: netstat -nat | grep -i "80" | wc -l 阅读全文
posted @ 2022-01-04 17:09 那时一个人 阅读(113) 评论(0) 推荐(0)
摘要: systemctl stop docker.socket https://blog.csdn.net/weixin_43885975/article/details/117809901 阅读全文
posted @ 2022-01-04 17:06 那时一个人 阅读(608) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/J_z10/article/details/94740540 博主的方案很巧妙的使用了nginx 来实现了读写分离,需要搭建两个odoo 服务,根据不同的请求,将读写请求分别发送到两个服务处理.这个和django的读写分离处理方式不太一样. 需要考虑的问题 阅读全文
posted @ 2021-12-24 15:35 那时一个人 阅读(322) 评论(0) 推荐(0)
摘要: https://hub.docker.com/r/bitnami/minio odoo 对接minio: https://gitlab.com/hibou-io/hibou-odoo/suite/-/tree/14.0/attachment_minio 多节点 https://www.cnblogs 阅读全文
posted @ 2021-12-15 10:52 那时一个人 阅读(316) 评论(0) 推荐(0)
摘要: Docker: System has not been booted with systemd as init system (PID 1). Can‘t operate. https://blog.csdn.net/m0_46304383/article/details/121483556 doc 阅读全文
posted @ 2021-12-09 16:40 那时一个人 阅读(240) 评论(0) 推荐(0)
摘要: html转pdf 使用的三方工具: wkhtmltopdf 源码分析: pdf_content = self._run_wkhtmltopdf( bodies, header=header, footer=footer, landscape=context.get('landscape'), spe 阅读全文
posted @ 2021-12-09 12:22 那时一个人 阅读(456) 评论(0) 推荐(0)
摘要: https://www.runoob.com/w3cnote/flex-grammar.html 阅读全文
posted @ 2021-12-08 12:20 那时一个人 阅读(21) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 46 下一页