Open bribenn opened 2 years ago
This is best handled at the ops level, by the CDN or LoadBalancer. A clear text request should never make it to the application server.
I can assist in doing this for the following platforms; Nginx, Cloudflare, and Google Compute Platform.
That said, the django setting SECURE_SSL_REDIRECT
can be set to to True
to accomplish this, given all the right headers are passed from whatever is fronting this application.
Overview
The website needs to function properly when typed as "http://civictechindex.org", "https://civictechindex.org", and "civictechindex.org"
Action Items
Resources/Instructions
This is done in AWS account