petstore-backend/deploy/nginx-api-upload.conf
2026-04-17 13:43:34 +08:00

8 lines
284 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 反代到 Spring Boot 时加入server 或 location /api/ 内)
# 默认 client_max_body_size 仅 1m会导致大视频返回 HTTP 413小程序提示「文件过大」
client_max_body_size 200m;
proxy_connect_timeout 300s;
proxy_send_timeout 300s;
proxy_read_timeout 300s;