Set the springboot max file size.

This commit is contained in:
Andrea Dell'Amico 2023-04-05 17:13:21 +02:00
parent 6fda12121e
commit dbb4fb8789
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
2 changed files with 8 additions and 0 deletions

View File

@ -113,3 +113,7 @@ shinyproxy_oidc_use_roles_claim: True
shinyproxy_oidc_roles_claim: 'groups'
shinyproxy_max_log_size: 20MB
# Springboot options
shinyproxy_max_file_size: 10MB
shinyproxy_max_request_size: "{{ shinyproxy_max_file_size }}"

View File

@ -192,6 +192,10 @@ management:
spring:
application:
name: "{{ shinyproxy_spring_name }}"
servlet:
multipart:
max-file-size: {{ shinyproxy_max_file_size }}
max-request-size: {{ shinyproxy_max_request_size }}
{% endif %}
logging: