ERROR: Uploading artifacts as “archive” to coordinator… 413 Request Entity Too Large id=743 responseStatus=413 Request Entity Too Large status=413 token=64_xxqAu
这个错误可能是由于 Nginx 的 client_max_body_size
限制引起的。这个配置项决定了 Nginx 接受的 HTTP 请求体最大大小。
要解决这个问题,您可以通过以下步骤调整 nginx.conf
文件:
-
打开
nginx.conf
文件:sudo nano /etc/nginx/nginx.conf
-
在
http
块内添加以下行,将client_max_body_size
设置为所需值(例如10M):http { # ... client_max_body_size 10M; # ... }
-
重启 Nginx 服务器:
sudo systemctl restart nginx
领取外卖红包