spiritedmedia / systems

Code and documentation for building, deploying, and serving code.
1 stars 1 forks source link

Support SSL when EC2 Instances are Accessed Directly #10

Closed kingkool68 closed 7 years ago

kingkool68 commented 7 years ago

Part of the update process involves updating the domain names via your local hosts file so the instances can be accessed directly. This is not possible after we switched to HTTPS as the load balancer handles decrypting the SSL connection and bypassing the load balancer means that doesn't work.

Some ideas:

kingkool68 commented 7 years ago

Made nginx configuration changes so the sites load via SSL when accessed directly. If nginx is responding on port 443 then it will use self signed certificates which is fine for our needs.

See https://github.com/spiritedmedia/systems/commit/28c5834f6b42fc9f6c37d697593f3b92969029f5