"I should remove that approach and only add the "x-relayer-protocol: https" header to rush if the reference is with https, right?"

Right. Check the functionality description at #251