Respect the configured protocol for the assets domain.