feat(nginx): 增加大文件上传支持
添加 client_max_body_size 配置以支持 ZIP 项目上传
This commit is contained in:
parent
e2109647bf
commit
a27d37960a
|
|
@ -4,6 +4,9 @@ server {
|
|||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
# 允许上传大文件(用于 ZIP 项目上传)
|
||||
client_max_body_size 500M;
|
||||
|
||||
# 处理 SPA 路由
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
|
|
|
|||
Loading…
Reference in New Issue