New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate ELB with the CloudFormation stack #1170
Comments
An example of Apache config file updated for HTTPS:
|
Noting here so I don't lose it. Can get Amazon to create our certificates: http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/ssl-server-cert.html |
Btw, it is possible to have conditionals in the template: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/conditions-section-structure.html |
As we discussed, there should be a single file for all stack settings, including tags. Also, we should probably have two AWS deployment modes. Prod: with SSL and dev: with no SSL. Dev mode settings/templates would be useful for Vagrant deployments too. |
Regarding HTTPS handing in Django: https://docs.djangoproject.com/en/1.9/topics/security/#ssl-https |
Also, we should log actual client IPs in Apache logs, not the ELB IPs (X-Forwarded-For header) |
The current beta site is deployed behind an ELB which terminates HTTPS. We should be able to create a new ELB when setting up a brand new stack or re-use an existing one if available.
There should be settings added to the config.yml.template for load balancer name, all necessary HTTPS certificate files and other items necessary for provisioning an ELB.
Apache config template should be changed to configure redirect from HTTP to HTTPS.
Set ServerName in Apache config from SITE_URL
The text was updated successfully, but these errors were encountered: