使用带有 ssl 证书的 aws 设置 elb
Setting up elb with aws with ssl cert
我在 AWS 中设置了 ELB
1. TCP port 443 forward to 8080 port on instance (nginx)
2. www.example.com point to ELB dns
3. myserver.mydomain is my instance hostname
现在我已经在 ELB 上为域 www.example.com
设置了 ssl
现在在 nginx 上使用 ssl,以便所有通信都是 ssl。我想知道
我需要为 www.example.com or myserver.mydomain or its IP adddress
在 nginx 上上传 ssl
如果您也想要来自服务器端的 SSL,请按照您的评论确定。那么这就是您需要遵循的两个步骤。
- 在您的服务器上为 "www.example.com" 上传 SSL,并将 nginex 配置到服务器 443 端口。
- 将 ELB 侦听器从 443-80 更改为 443-443。
它会起作用
我在 AWS 中设置了 ELB
1. TCP port 443 forward to 8080 port on instance (nginx)
2. www.example.com point to ELB dns
3. myserver.mydomain is my instance hostname
现在我已经在 ELB 上为域 www.example.com
现在在 nginx 上使用 ssl,以便所有通信都是 ssl。我想知道
我需要为 www.example.com or myserver.mydomain or its IP adddress
如果您也想要来自服务器端的 SSL,请按照您的评论确定。那么这就是您需要遵循的两个步骤。
- 在您的服务器上为 "www.example.com" 上传 SSL,并将 nginex 配置到服务器 443 端口。
- 将 ELB 侦听器从 443-80 更改为 443-443。
它会起作用