所属: "Linux"
8月 31, 2023 - 分类 Linux, php开发   评论 nginx请求报错504–upstream timed out (110: Connection timed out) while reading response header from upstream已关闭评论

nginx请求报错504–upstream timed out (110: Connection timed out) while reading response header from upstream

批量下载视频链接,开始用的是GET请求的方式,发现当选择的视频过多,当超过1600视频时,会因为参数过大导致报错.一般get参数的长度支持2k.
解决办法:
换成POST的形式,但是会出现超时的问题:如下
upstream timed out (110: Connection timed ou[……]

Read more

6月 1, 2023 - 分类 Linux, php开发   评论 phpunit的漏洞修补已关闭评论

phpunit的漏洞修补

发现,nginx的请求报错日志(error.log)有很多,都是同一个错误,查询同一时间段的访问access.log日志时发现是:

[01/Jun/2023:18:16:21 +0800] “POST /vendor/phpunit/phpunit/src/Util/PHP/eval-[……]

Read more

5月 6, 2023 - 分类 gitlab的CICD, Linux, php开发, 开发笔记   评论 gitlab的cicd使用scp报错已关闭评论

gitlab的cicd使用scp报错

gitlab的gitlab-runner安装到了node1上,像通过node1直接scp文件到目标服务器的node2上.
通过gitlab的CICD进行scp时一直有key的认证失败.
确认已经在node2上已经添加了node1的~/.ssh/id_rsa.pub.手动scp或执行ssh roo[……]

Read more

页面:«123456»