Skip to content
代码片段 群组 项目
提交 48dc662d 编辑于 作者: Joe Randazzo's avatar Joe Randazzo 提交者: Marcel Amirault
浏览文件

Add nginx rule when considering large file uploads

上级 c5ca2ef7
No related branches found
No related tags found
无相关合并请求
...@@ -435,11 +435,16 @@ To disable your instance fetching this data: ...@@ -435,11 +435,16 @@ To disable your instance fetching this data:
## Troubleshooting ## Troubleshooting
### 413 Request Entity Too Large ### `413 Request Entity Too Large` error
When build jobs fail with the following error, If the artifacts are too large, the job might fail with the following error:
increase the [maximum artifacts size](#maximum-artifacts-size).
```plaintext ```plaintext
Uploading artifacts as "archive" to coordinator... too large archive <job-id> responseStatus=413 Request Entity Too Large status=413" at end of a build job on pipeline when trying to store artifacts to <object-storage>. Uploading artifacts as "archive" to coordinator... too large archive <job-id> responseStatus=413 Request Entity Too Large status=413" at end of a build job on pipeline when trying to store artifacts to <object-storage>.
``` ```
You might need to:
- Increase the [maximum artifacts size](#maximum-artifacts-size).
- If you are using NGINX as a proxy server, increase the file upload size limit which is limited to 1 MB by default.
Set a higher value for `client-max-body-size` in the NGINX configuration file.
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册