I have a worker which simply passes requests thourgh to origins. I tried to request its workers.dev subdomain using command “curl” and eventually got a response with http code 404. I am wondering where these requests go?
Nowhere - where would they go?
If you want a Worker on top of an origin, you put the Worker on top of your (sub)domain with routes.