惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Fortinet All Blogs
S
Secure Thoughts
月光博客
月光博客
美团技术团队
雷峰网
雷峰网
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
N
News and Events Feed by Topic
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Forbes - Security
Forbes - Security
W
WeLiveSecurity
P
Proofpoint News Feed
阮一峰的网络日志
阮一峰的网络日志
爱范儿
爱范儿
G
GRAHAM CLULEY
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
AI
AI
Last Week in AI
Last Week in AI
Google Online Security Blog
Google Online Security Blog
Schneier on Security
Schneier on Security
云风的 BLOG
云风的 BLOG
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Recent Announcements
Recent Announcements
Webroot Blog
Webroot Blog
T
Tor Project blog
Cisco Talos Blog
Cisco Talos Blog
N
News and Events Feed by Topic
罗磊的独立博客
The Register - Security
The Register - Security
Blog — PlanetScale
Blog — PlanetScale
T
Threat Research - Cisco Blogs
博客园 - 【当耐特】
Apple Machine Learning Research
Apple Machine Learning Research
人人都是产品经理
人人都是产品经理
T
The Exploit Database - CXSecurity.com
www.infosecurity-magazine.com
www.infosecurity-magazine.com
B
Blog
腾讯CDC
Microsoft Azure Blog
Microsoft Azure Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hacker News: Front Page
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Engineering at Meta
Engineering at Meta
Latest news
Latest news
IT之家
IT之家
D
DataBreaches.Net
博客园 - 司徒正美
N
Netflix TechBlog - Medium
V
V2EX
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知

云云星羽

halo自定义字体 iphone苹果设备越狱详细图文教程IOS 11.0 ~ IOS 14.8 嗐,域名还是换回去了 pix侧边栏随机视频 随机视频,单页 indexNow推送测试 由于此设备上的安全设置已更改,你的PIN不再可用。 highlight.js 代码高亮-主题预览 短网址程序 YOURLS 安装配置中文设置教程 换域名了,辛苦看到了改一下链接 wps公式,计算当月范围的休息天数 K8S架构原理及其工作流程 CloudFlare公共优选Cname域名地址 我的播客 免费图床 奥特格斗进化重生-连招 解决静态资源跨域 alist跨域报错解决 alist外链
解决Alist上传文件时的413和504问题
云云星羽 · 2024-07-03 · via 云云星羽

解决Alist上传文件时的413和504问题

上传大文件报错 Request failed with status code 413

如图

Alist官方文档 中提到过这类问题,这是由于nginx client_max_body_size 限制导致的

只需要修改一下nginx配置即可。

include proxy.conf;

        default_type  application/octet-stream;

        server_names_hash_bucket_size 512;

        client_header_buffer_size 32k;

        large_client_header_buffers 4 32k;

        client_max_body_size 90000m; 

//把client_max_body_size调大一些

上传大文件报错 Request failed with status code 504

这是因为在使用nginx反向代理时,nginx限制了后端超时时间,同样只需要修改一下nginx配置即可。(这里要修改站点的nginx配置)

        proxy_send_timeout 7200;

        proxy_read_timeout 7200;

        proxy_connect_timeout 7200;

//在配置中添加这三行命令

//这里设置超时时间为2小时,可以根据需求自行修改