aschmahmann changed the topic of #ipfs to: Heads Up: To talk, you need to register your nick! Announcements: go-ipfs 0.7.0 and js-ipfs 0.52.3 are out! Get them from dist.ipfs.io and npm respectively! | Also: #libp2p #ipfs-cluster #filecoin #ipfs-dev | IPFS: https://github.com/ipfs/ipfs | Logs: https://view.matrix.org/room/!yhqiEdqNjyPbxtUjzm:matrix.org/ | Forums: https://discuss.ipfs.io | Code of Conduct: https://git.io/vVBS0
jesse22 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pixtum[m]>
where is that file?/ how do I do that on my own system?
moonloo has joined #ipfs
<Discordian[m]>
Do you own a domain?
<pixtum[m]>
ya
<Discordian[m]>
Go into your domain's control panel and add a TXT record.
supercoven_ has joined #ipfs
supercoven_ has quit [Max SendQ exceeded]
<pixtum[m]>
ohhhh, ok I thought it was just changing the hash I didn't realize I have to buy a domain, that makes sense
supercoven_ has joined #ipfs
supercoven_ has quit [Max SendQ exceeded]
supercoven_ has joined #ipfs
<Discordian[m]>
Yeah you get the IPNS address, and you add that into the domain's DNS, then the domain will point to your IPNS address that you can update with whatever CID you want.
<Discordian[m]>
Glad I could help 🙂
supercoven has quit [Ping timeout: 276 seconds]
drathir_tor has joined #ipfs
royal_screwup21 has joined #ipfs
royal_screwup21 has quit [Ping timeout: 276 seconds]
<pixtum[m]>
how easy is it to use pre-existing web frame works such as jester on ipfs?
<pixtum[m]>
or can ipfs only display html rn?
<Discordian[m]>
Idk what Jester is but anything that runs in the browser should work fine, even WASM.
moonloo has left #ipfs [#ipfs]
<pixtum[m]>
A better way to phrase that might have been, how do I deploy a pre-existing site (routes and all) to ipfs, this might be more of a general question then an ipfs one
<Discordian[m]>
Depends on the website, if it runs client-side and just loads and serves files you can simply add the directory to IPFS and you're good to go.
}ls{ has quit [Ping timeout: 256 seconds]
<pixtum[m]>
I'm pretty sure it runs server side
}ls{ has joined #ipfs
<Discordian[m]>
You'll likely have to get creative to run a non-static website. I have a couple things like `*><>` and Element Web on mine here http://portal.thedisco.zone. However those are technically static.
mowcat has quit [Remote host closed the connection]
Belkaar_ has quit [Ping timeout: 240 seconds]
Belkaar has joined #ipfs
Belkaar has joined #ipfs
Belkaar has quit [Ping timeout: 264 seconds]
Belkaar has joined #ipfs
Belkaar has joined #ipfs
Belkaar has quit [Changing host]
drathir_tor has quit [Ping timeout: 268 seconds]
jcea has quit [Ping timeout: 240 seconds]
Belkaar has quit [Ping timeout: 276 seconds]
Belkaar_ has joined #ipfs
KempfCreative has joined #ipfs
jrt is now known as Guest45331
Guest45331 has quit [Killed (weber.freenode.net (Nickname regained by services))]
jrt has joined #ipfs
royal_screwup21 has joined #ipfs
}ls{ has quit [Ping timeout: 246 seconds]
royal_screwup21 has quit [Ping timeout: 264 seconds]
mowcat has quit [Remote host closed the connection]
cubemonkey has quit [Ping timeout: 272 seconds]
wallacer has quit [Ping timeout: 240 seconds]
wallacer has joined #ipfs
zoorat has joined #ipfs
<Discordian[m]>
reasv: I believe the WebUI just connects on port 8080 to the local instance. So if you forward that port, and point any WebUI to the address, I'd imagine it'd work fine. Albeit, without any real auth.
<Discordian[m]>
BTW no idea how to change how the WebUI connects to a node, never played with that.
<swedneck>
the webui needs the API port for most things
<Discordian[m]>
Ah 4001
<swedneck>
i.e. 5001 by default
<Discordian[m]>
fr? Stupid Google
<swedneck>
<Discordian[m] "Ah 4001"> that's the swarm port, unless i'm very confused
<Discordian[m]>
I just have my ports mixed up
<Discordian[m]>
I Googled IPFS ports after just waking up, saw 8080 and 4001, just said them lol
<Discordian[m]>
What's 5001?
<Discordian[m]>
Mine's not even open, not on TCP anyways
<swedneck>
<Discordian[m] "What's 5001?"> the API port
<swedneck>
i.e. what you use to control the node
<Discordian[m]>
Oh shit it is too
<Discordian[m]>
I'm going to go have coffee or something
<swedneck>
and it shouldn't be open
<swedneck>
if it is open anyone can control your node
<Discordian[m]>
I was trying on localhost ;)
<Discordian[m]>
It's usually open, but not forwarded 😉
<swedneck>
as in, open to the internet :D
<Discordian[m]>
Yeah definitely not brave enough to open to Internet
<reasv>
Discordian[m] I guess I'll keep using SSH forwarding :(
<reasv>
but it's fine
<reasv>
another question: how do I get my IPFS node/gateway to understand CID-in-subdomain
<reasv>
I have *.cid.example.com pointing to my IPFS gateway
<swedneck>
🤔 speaking of ports, nothing seems to realize my ipfs node is running
<Discordian[m]>
<reasv "another question: how do I get m"> Does that work outside of localhost? Sounds incredibly handy
<reasv>
but doing CID.cid.example.com doesn't work, IPFS just returns not found
<Discordian[m]>
should be like `cid.ipfs.example.com`
<reasv>
well the main ipfs gateways seem to support it
<Discordian[m]>
And only the CIDs that are all lowercase
<reasv>
yeah I know
<Discordian[m]>
Fr? I guess I never tried
<reasv>
I think this is the #1 reason why they introduced the new all lowercase CIDs
<swedneck>
and if the domain already has a - it becomes --
<reasv>
15:22 <Discordian[m]> Is it a DNS issue? Because it should work like that by default
<reasv>
don't think so since it is pointing to IPFS
<Discordian[m]>
Are there docs for how `QmU4Y8G4ZzhQPFrPv4TSYxgK4jq7GUjiDuC9YL6pD2aW3e` becomes `bafybeicvavrhfujzyjyciaeyzvghxeeurtla4euf4woyxlpefqb6odgyuu`?
<Discordian[m]>
Oh wow that's hilarious, reminds me of string formatting using `%`, you end up with ridiculous things like `%d%%`
<Discordian[m]>
<reasv "don't think so since it is point"> But the DNS for the subdomains needs to be routed, no? Idk how your DNS/reverse proxy is setup.
<Discordian[m]>
Or if you have a reverse proxy I suppose
<swedneck>
reasv: how are you making the webui give http-basic-auth the credentials?
<reasv>
swedneck I'm not
<reasv>
it doesn't work that way
<reasv>
I'm using SSH port forwarding
<swedneck>
so what's http-basic-auth for then?
<Discordian[m]>
Abandoned the idea
<swedneck>
ah
<reasv>
Discordian[m] it's really weird, I am trying by using curl directly on the server, to the IPFS service, and setting the host header manually, and it doesn't work, but if I set the host header to CID.ipfs.dweb.link, it works
<Discordian[m]>
Yeah I think you need a wildcard to catch the requests and route them to your domain. Then additionally if you're using a reverse proxy, configure that to do the same thing.
<swedneck>
well first off you need DNS for the subdomain gateway to work, so you have to use localhost instead of the ip
<reasv>
No, DNS is not involved here, I am directly sending the host header to the IPFS service
<reasv>
and it works with dweb.link, but not my own domain
<reasv>
there should be no DNS resolution happening
<swedneck>
i'm very confused what you're trying to do
<Discordian[m]>
Oh right I see that, is there a reverse proxy involved?
<reasv>
not at all
<reasv>
swedneck I am testing it directly, bypassing DNS and reverse proxy
<Discordian[m]>
That seems pretty strange then, that it'd work with a different domain but not your own
<reasv>
there's no reverse proxy involved, that's the address of the docker container
<Discordian[m]>
Oh dude
<reasv>
maybe it wants it to be CID.ipfs
<Discordian[m]>
you missed `.ipfs`
<Discordian[m]>
Yeah lol
<reasv>
does it need that?
<reasv>
lol
<reasv>
I just didn't know
<Discordian[m]>
Yup `.ipfs` and `.ipns` for IPNS things
<reasv>
I guess that's how it distinguishes them
<swedneck>
i'm still very confused what you're trying to accomplish
<reasv>
makes sense
<swedneck>
you want to use subdomain gateways but without dns?
<reasv>
no, I am bypassing DNS to test that it works
<reasv>
not for any other reason
<Discordian[m]>
I think they're just testing right now, cutting out the DNS complexity