You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to deploy the service on my own server by Docker, and it worked.
But i want to limit the file size, for example : any request with a bigger than 10MB file will be rejected.
In springboot application yml like this
servlet:
multipart:
max-file-size: 10MB
I did read the related documentation, but i did't find it.
How should i do that? Or is there a default configuration? Thanks.
The text was updated successfully, but these errors were encountered:
Hello @luhengyu1! I'm Dosu, here to help you with bugs, questions, and anything else you might need while you wait for a human maintainer. Let's tackle your file size limitation issue together!
To limit the uploaded file size in Stirling-PDF when deploying via Docker, you can use the SYSTEM_MAXFILESIZE environment variable. Set this variable to your desired maximum file size in megabytes. For example, to limit the file size to 10MB, you would set SYSTEM_MAXFILESIZE to "10" in your Docker configuration [1].
I want to deploy the service on my own server by Docker, and it worked.
But i want to limit the file size, for example : any request with a bigger than 10MB file will be rejected.
In springboot application yml like this
servlet:
multipart:
max-file-size: 10MB
I did read the related documentation, but i did't find it.
How should i do that? Or is there a default configuration? Thanks.
The text was updated successfully, but these errors were encountered: