Inject custom header and value to request before origin

Hello ,

i’m trying to lock down access to my origin via secret custom header value on the request , any tips how i can do this via worker , for example i want to inject custom header before request reach origin

please advise

Thanks , works for me