https://domain.tld/
http://domain.tld/
This question has been answered by viener. See the first response.
SetEnvIf X_FORWARDED_PROTO https HTTPS=on
<IfModule setenvif_module> SetEnvIf X-Forwarded-Proto https HTTPS=on </IfModule>