I was trying to deploy my worker with
wrangler to a second level subdomain, e.g.:
app.staging-abc.example.com. And it wasn’t working at all, I was constantly getting
HTTP 522 error while
wrangler dev was working correctly on my local.
When I tried to deploy the same worked to the first level subdomain, it magically worked.
Is there a way to deploy workers to a second-level subdomain? Where can I find it in the documentation?