ipfs / infra

Tools and systems for the IPFS community

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redirect /ipfs/ and /ipns/ traffic from preload nodes to the Gateway

eefahy opened this issue · comments

Carried over from #448 - since we only expose the api endpoint at the preload nodes, when one requests a /ipfs/hash they get a 404. In order to field the request cleanly, we should redirect those requests to the gateway.

@lidel you triggered this conversation in #448 (comment)

given that preload nodes have not functioned as gateways for some time, shouldn't we just leave it now... folks should not be using gateway urls that point at the preloads, and if we start redirecting them, then they may continue or restart using preload nodes with an ipfs path which we don't want.

@olizilla agreed. it made sense year ago (right after we blocked it) but as you noted we did not support gateway requests on preload nodes for over a year, I believe this should be closed as nofix.

closing per discussion.