fix: 修改文件上传大小限制20M
All checks were successful
Web UI CI/CD / build-and-deploy (push) Successful in 10s
All checks were successful
Web UI CI/CD / build-and-deploy (push) Successful in 10s
This commit is contained in:
@@ -20,6 +20,8 @@ server {
|
||||
# 后端服务在 Docker 容器中,使用容器名访问(都在 1panel-network 网络中)
|
||||
# 如果后端在宿主机上,改为:http://172.17.0.1:48080/admin-api
|
||||
location /admin-api {
|
||||
client_max_body_size 20M;
|
||||
|
||||
# 后端服务地址
|
||||
# 方案1:使用容器名(推荐,自动 DNS 解析)- 如果后端监听 0.0.0.0
|
||||
proxy_pass http://aiot-gateway:48080/admin-api;
|
||||
|
||||
Reference in New Issue
Block a user