add post size
Test Workflow / test (push) Successful in 2s

This commit is contained in:
vladp
2025-12-26 19:40:08 +07:00
parent 291586dbf4
commit 9541e89651
+12 -5
View File
@@ -16,10 +16,11 @@ spring:
servlet:
multipart:
enabled: true
resolve-lazily: true #
file-size-threshold: 2KB #
max-file-size: 10MB
max-request-size: 100MB
enabled: true
resolve-lazily: false
file:
storage:
@@ -31,6 +32,13 @@ file:
temp-ttl-hours: ${TEMP_TTL_HOURS:72} # 3 дня
session-expiry-hours: ${SESSION_EXPIRY_HOURS:24}
server:
port: ${SERVER_PORT:8080}
tomcat:
max-swallow-size: -1 #
connection-timeout: 300000 #
max-http-header-size: 16KB
security:
cors:
allowed-origins: "*"
@@ -38,13 +46,12 @@ security:
allowed-headers: "*"
allow-credentials: true
server:
port: ${SERVER_PORT:8080}
logging:
level:
com.example.fileupload: DEBUG
org.springframework.web: DEBUG
org.springframework.web.multipart: TRACE # ← ДЛЯ ОТЛАДКИ
org.apache.tomcat: DEBUG # ← ЛОГИ TOMCAT
org.hibernate.SQL: DEBUG
file:
name: logs/application.log