add ROOT_URL_SCHEME config instead of assuming https in generated links