Internal endpoints

An internal endpoint has a URL ending in .internal and no public address. Nothing on the internet can reach it; only your own endpoints can, with the forward-internal action. That lets one public URL route to many services without each of them being exposed.

$ devgate http 3000 --url https://api.example.internal

Names

Any hostname of letters, digits and hyphens ending in .internal — api.internal, billing.prod.internal. Names are per account: yours never collide with anyone else’s. A port in the URL (:443) is accepted and ignored.

Routing to it

policy.yaml
on_http_request:
  - actions:
      - type: forward-internal
        config:
          url: https://api.example.internal

Put this on a public agent endpoint, a reserved endpoint or a cloud endpoint. The internal endpoint’s own policy runs too, so it can add its own headers or checks.