I want to add max-upload-size.conf file to /etc/nginx/conf.d directory in elastic beanstalk but it was not working.
My environment is Java 8 running on 64bit Amazon Linux/2.11.3
All ways below are not copied my config file.
.platform/nginx/conf.d/max-upload-size.conf
client_max_body_size 50M;
.ebextensions/nginx/conf.d/max-upload-size.conf
client_max_body_size 50M;
I followed the processes below
- check documentation.
- create
max-upload-size.conf
./gradlew clean
&./gradlew bootJar
eb deploy
eb ssh
and check nginx directory (/etc/nginx/conf.d
)
I already checked https://stackoverflow.com/a/63626941/7770508 and https://stackoverflow.com/a/51888100/7770508. Is there really no way to extend it?