Skip to content

Universal Path gateway

A Universal Path gateway is a gateway without a DNSLink record. It allows users to access any content hosted on the IPFS network by specifying a CID or IPNS path in the URL.

This differs from a restricted gateway, which limits the gateway to a single piece of content (a specific CID or IPNS hostname).

How is it used with Cloudflare?

You can set up a Universal Path gateway the same way you create any gateway.

Because a Universal Path gateway is open by default, you may want to use the gateway blocklist to prevent access to specific content. You can block one or more:

  • CIDs (QmPZ9gcCEpqKTo6aq61g2nXGUhM4iCL3ewB6LDXZCtioEB)
  • IPFS content paths (/ipfs/QmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG/readme)
  • IPNS content paths (/ipns/example.com)