By default elastic beanstalk use apache2. But I want to use Nginx. I search but I can not find a suitable way. How can I do that?
By default elastic beanstalk use apache2. But I want to use Nginx. I search but I can not find a suitable way. How can I do that?
Based on the comments.
Amazon Linux 1 (AL1) uses apache2. However, Amazon Linux 2 (AL2) uses nginx.
Therefore, the solution was to upgrade to AL2 instead of using AL1.