nginx: 关闭 HTTPS 的 HTTP/2,缓解大分片 multipart 断连(status 0)
Made-with: Cursor
This commit is contained in:
@@ -19,8 +19,9 @@ upstream yh_admin_upstream {
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
# 关闭 http2:大体积分片 multipart 在部分浏览器+HTTP/2 组合下易出现 ERR_HTTP2_PROTOCOL_ERROR / 网络面板 status 0
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
server_name yuheng.yuxindazhineng.com;
|
||||
client_max_body_size 800m;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user