This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
Gateway: support Host header #2248
Labels
exp/novice
Someone with a little familiarity can pick up
kind/feature
kind/maybe-in-helia
P2
Medium: Good to have, but can wait until someone steps up
status/ready
Ready to be worked
Gateway exposed by js-ipfs should check
Host
header and produce valid responses based on its value:Host: {domain-with-dnslink}
DNSLink (http://dnslink.dev)
This will enable js-ipfs to be used with regular domain names
Host: {cidv1b32}.ipfs.*
andHost: {cidv1b32}.ipns.*
Subdomain gateway (CID as a Subdomain in-web-browsers#89, Subdomain Gateway kubo#6498)
This would also unlock HTTP Proxy mode described in Act as HTTP PROXY for http://<cidv1b32>.ipfs.localhost #1877
The text was updated successfully, but these errors were encountered: