This reposiroty contains the example ebextensions config files
Examples config files in this repo are tested for nginx+php-fpm+varnish for wordpress application.
Beanstalk does not provide nginx support with php based application. This is kinda hacky way to make your php application work with nginx on AWS beanstalk