Go to Elastic Beanstalk -> Configuration -> Security -> Virtual machine permissions -> EC2 key pair. Choose your key pair. If you do not have one, Then go to EC2 Dashboard -> NETWORK & SECURITY -> Key Pairs -> Create Key Pair.…
假设您已在负载平衡器安全组中启用https,将SSL证书添加到负载平衡器,将443添加到负载平衡器转发的端口,并使用Route 53将您的域名指向Elastic Beanstalk环境(或等效DNS服务).它还假定您没有使用基于docker的部署 所有你需要做的是将以下内容添加到您的一个.config files in the .ebextensions directory of your project: files: "/etc/httpd/conf.d/ssl_rewrite.conf&q…