明天的明天 永远的永远 未知的一切 我与你一起承担 ??

是非成败转头空 青山依旧在 几度夕阳红 。。。
  博客园  :: 首页  :: 管理

2023年6月30日

摘要: Nginx 报错 504 Gateway Time-out 的解决方法 修改 nginx.conf 配置文件。 keepalive_timeout 600; fastcgi_connect_timeout 600; fastcgi_send_timeout 600; fastcgi_read_tim 阅读全文

posted @ 2023-06-30 16:05 且行且思 阅读(958) 评论(0) 推荐(0) 编辑

摘要: postgresql 字符串转整数 int、integer --把'1234'转成整数 select cast('1234' as integer ) ; --用substring截取字符串,从第8个字符开始截取2个字符:结果是12 select cast(substring('1234abc12' 阅读全文

posted @ 2023-06-30 12:16 且行且思 阅读(2601) 评论(0) 推荐(0) 编辑

摘要: 在nginx.conf 中 http 下添加如下代码: client_max_body_size 2000m; client_body_buffer_size 2000m; client_body_timeout 500; client_header_buffer_size 64k; client_ 阅读全文

posted @ 2023-06-30 09:50 且行且思 阅读(144) 评论(0) 推荐(0) 编辑

摘要: 一、client_max_body_sizeclient_max_body_size 默认 1M,表示 客户端请求服务器最大允许大小,在“Content-Length”请求头中指定。如果请求的正文数据大于client_max_body_size,HTTP协议会报错 413 Request Entit 阅读全文

posted @ 2023-06-30 09:08 且行且思 阅读(5361) 评论(0) 推荐(0) 编辑