Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow 4GB file uploads #3166

Merged
merged 9 commits into from
Mar 26, 2024
2 changes: 1 addition & 1 deletion packages/client/hmi-client/docker/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ server {
server_name _;

# max file size. Should be kept in sync with the value in application.properties
client_max_body_size 1024M;
client_max_body_size 4096M;

access_log /var/log/nginx/access.log combined_no_query;
add_header X-Frame-Options SAMEORIGIN;
Expand Down
4 changes: 2 additions & 2 deletions packages/server/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ server.http2.enabled=true
spring.jackson.default-property-inclusion=NON_NULL
spring.jackson.mapper.ACCEPT_CASE_INSENSITIVE_ENUMS=true

spring.servlet.multipart.max-file-size=1GB
spring.servlet.multipart.max-request-size=1GB
spring.servlet.multipart.max-file-size=4GB
spring.servlet.multipart.max-request-size=4GB

logging.level.org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver=ERROR
#swagger configuration
Expand Down
Loading