Nginx URL重写(rewrite)

Posted by 夏泽民

rewrite是实现URL重写的关键指令,根据regex(正则表达式)部分内容,重定向到replacement,结尾是flag标记。



nginx_phase 处理请求的11个阶段

Posted by 夏泽民

post-read 接受到完整的http头部后,读取请求内容阶段,nginx读取并解析完请求头之后就立即开始执行;



yield *

Posted by 夏泽民

yield表达式的值,是下一个iter.next的参数值



Sequelize Transactions

Posted by 夏泽民

Sequelize 支持两种使用事务的方法:



too_many_clauses

Posted by 夏泽民

报错 too_many_clauses: maxClauseCount is set to 1024 报错原因是Search限制一个bool查询中最多只能有1024个值或子查询,当超过1024时,会抛出次异常。



Search

Popular posts

Anything in here will be replaced on browsers that support the canvas element

Recent posts

This blog is maintained by 夏泽民

Get in touch with me at 465474307@qq.com

Subscribe to our mailing list

* indicates required