How to force https on elastic beanstalk?
问题 I can't seem to force https on the free usage tier of elastic beanstalk. I have tried the following suggestion at How to force https on amazon elastic beanstalk without failing the health check Using this Apache rewrite rule RewriteEngine On RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteCond %{REQUEST_URI} !^/status$ RewriteCond %{REQUEST_URI} !^/version$ RewriteCond %{REQUEST_URI} !^/_hostmanager/ RewriteRule . https://%{SERVER_NAME}%{REQUEST_URI} [L,R] When I try that, http requests