Check for HTTPS explicitly disabling before checking DEBUG
Add a gunicorn config file that allows https