• 1 Post
  • 11 Comments
Joined 2 years ago
cake
Cake day: June 9th, 2023

help-circle



  • The first time federation is a bit slow in the beginning.

    Since I don’t know any better place to ask and I also setup my instance on Hetzner maybe some of you could provide me with some input regarding federation. I’m able to search new communities; the way I’m doing it right now is by searching for their handler (this !comunnityName@InstanceName thing) on my instance. For some reason if I haven’t searched for the community before no search results show up but I can switch to the community all list and see the community there. After subscribing to a community everything works nicely, I see posts, comments everything. But my main question is, if there is a way to federate a server (e.g. lemmy.ml) in a way that I can just click on communities on my server and see every community on the federated servers without having to manually search them first?

    This is something that I wasn’t able to grasp from reading the lemmy docs and also didn’t found a satisfying answer to when googleing.



  • I got it solved, I’ll write a better summary in a edit for the post above.

    Regarding your question, **Error logs: ** There was no error msg in the backend logs on the (got it solved before digging more into the nginx, front end or what ever logs). Imho the request anyway never reached the server so there should have been no msg. But since I’m earning my money as a dev and not as a (dev)ops, and just operate such things on a hobby base I’m not 100% sure. Also the browser just showed lots of status 301 and using ping I just got timeouts.

    What do I mean by proxies? Yeah I mean these Cloudflare caching and whatsoever magic proxy thing that also hides your ip and exposes some Cloudflare IP instead. Makes it e.g. impossible to just do smth like ssh root@your.domain.

    CNAME Yes it’s against RFC to CNAME an APEX domain, you kinda can do this in Cloudflares UI but it’s not actually doing it under hood. It uses CNAME flattening which causes Cloudflare to directly return the IP you’re pointing to.

    For the final solution see above, will post an edit in a few minutes.






  • In case you get it working it would be really cool if you cold post you config somewhere. Maybe the main dev could even integrated it in the docu at some point. I’m quite sure there are more people who set up there home servers using traefik and that there is an intersection between them and people who consider starting a lemmy instance.

    E.g. I would really like to ditch the VPS I’m currently using for my instance and run it on my home server since there are free resources and I would have to spend the 5 euros for the VPS.