set HTTPS env, if reverse proxy uses HTTPS