Skip to content
This repository was archived by the owner on Apr 29, 2020. It is now read-only.

IPFS over HTTP #114

Closed
asgraf opened this issue May 2, 2016 · 3 comments
Closed

IPFS over HTTP #114

asgraf opened this issue May 2, 2016 · 3 comments
Labels

Comments

@asgraf
Copy link

asgraf commented May 2, 2016

Would it be possible to host simple static website both via HTTP and IPFS via single open port 80 so as to allow connection both from ipfs clients & from classic http non-ipfs browsers?

@Kubuxu
Copy link

Kubuxu commented May 2, 2016

No with just ipfs software.

It would probably possible to do active filtering using deep packet inspection to split HTTP traffic and ipfs traffic. You would still need a two locally bound ports and it would be quite challenging.

I don't know what is your use case but I am pretty sure cons outweigh benefits.

@lidel
Copy link

lidel commented May 2, 2016

It may be a digression on my end, but if we twist @asgraf's question a bit and ask instead:
How can I opportunistically upgrade HTTP users of my site to IPFS?

..then a short answer may be:


PS. If one really want to use a single port for all incoming connections, HAProxy can be used for hosting HTTPS and SSH on the same port:

In theory, it should be possible to replace SSH detection with IPFS-secific one.

@madavieb
Copy link

This issue has been moved to https://discuss.ipfs.io/t/ipfs-over-http/406.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants