pebble / cloudpebble

CloudPebble source. Here be dragons.
https://cloudpebble.net/
MIT License
211 stars 83 forks source link

IPD-51633: login redirected to http instead of https #354

Closed DeviaVir closed 7 years ago

DeviaVir commented 7 years ago

By looking for a different header, we can convince django that we are in fact running over HTTPS and that there is no need to redirect to HTTP at any point.

Needs new config var "CLOUDFLARE", "yes" (already set for beta + production).

Tested on beta.

DeviaVir commented 7 years ago

Verified using the wrong URL, I'm going back to the drawing board on this one, sorry for the spam.