Mar 27, 2018

How to configure the Nginx reverse proxy on AWS Elastic Beanstalk

AWS Elastic Beanstalk simplify the process of configuring the Nginx reverse proxy that runs on the web tier.

You can place annginx.conf file in the .ebextensions/nginx folder to override the Nginx configuration. You can also place configuration files in the .ebextensions/nginx/conf.d folder in order to have them included in the Nginx configuration provided by the platform.
  • .ebextensions/nginx/nginx.conf – Overrides the Nginx configuration for the platform.
  • .ebextensions/nginx/conf.d – Files are included in the Nginx configuration provided by the platform.
 For more information, see Configuring the Reverse Proxy.