tl;dr If you’re trying to configure nginx on Elastic Beanstalk to redirect http requests to https, here’s what I learned. During deployment, the nginx configuration for your app is located at this file path: /tmp/deployment/config/#etc#nginx#conf.d#00_elastic_beanstalk_proxy.conf via Using a container command, you can edit that nginx configuration file right before it gets deployed. I used a… Continue reading Making the Correct Insanely Difficult