Skip to content
This repository has been archived by the owner on Jun 28, 2019. It is now read-only.

Support SSL when EC2 Instances are Accessed Directly #10

Closed
kingkool68 opened this issue Feb 9, 2017 · 1 comment
Closed

Support SSL when EC2 Instances are Accessed Directly #10

kingkool68 opened this issue Feb 9, 2017 · 1 comment

Comments

@kingkool68
Copy link
Contributor

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:

  • Configure nginx to listen on port 443 to use a self-signed certificate. EasyEngine has a file called /etc/nginx/snippets/snakeoil.conf
  • Configure something in the load balancer to forward the request properly if a different port is used in the URL: https://billypenn.com:8080. This would involve some DNS juggling as well.
@kingkool68
Copy link
Contributor Author

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 28c5834

@kingkool68 kingkool68 mentioned this issue May 12, 2017
6 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant