79241577

Date: 2024-12-01 12:54:48
Score: 2
Natty:
Report link

I've managed to solve it by creating a zip archive with a JAR file and the .platform/nginx/conf.d/proxy.conf file with the client_max_body_size 50M; content. So the zip file has the following structure:

-- app.jar -- .platform/nginx/conf.d/proxy.conf

After that, I deployed it with the eb deploy -v. The .elasticbeanstalk/config.yml file in the source directory contains the following lines:

deploy: artifact: archive.zip

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Anas Mirza