Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)DL
dleewee @beehaw.org
Posts 0
Comments 17
Please help troubleshooting my Caddy server. Can't get it to work since changing from IPv4 to IPv6
  • Per Caddy documentation, port 80 is also required, and now I suspect the not serving that port is causing Caddy to fail to issue you a tls certificate.

    Try adding a simple text response like this (warning, formatting may not be perfect due to typing on mobile). Also setup a port forward on your router to your caddy host on port 80.

    my-domain.com:80 { respond "Buzz off" }

    Hopefully this will kick off the tls registration and then get your site on 443 working as well.

  • *Permanently Deleted*
  • Document everything. Found a useful link that helped you configure something? Copy the link. Finally got your proxy working right? Save the config. Even just make notes of how you set things up.

    Refine and build you notes along with your knowledge.

    Eventually, consider keeping all your config files in a self-hosted repository like Gitea.

    Oh, and when stuff breaks it's probably DNS.

  • Please help troubleshooting my Caddy server. Can't get it to work since changing from IPv4 to IPv6
  • A few things may be going on.

    The errors seem focused on the tls certificate, which caddy tries to automatically provision.

    First, in your caddyfile, "my.server" should reflect the real address used for access. Something like "jellyfin.my-domain.com". This is important for the tls certificate to be generated correctly.

    Once updated, pull out a cell phone, turn off wifi (use LTE/5G), and verify it can connect to your site. This makes sure you can access from outside your home network.

    Once confirmed working, try again from your home network. Most likely the page will timeout. This will be due to DNS pointing you back to your own network, which can cause trouble. This can be solved several ways. One is by adding a static DNS entry which points to the IP of your caddy server. You can do this on a per system basis in the hosts file, or at the lan level with you DNS server or router, assuming it allows you to add a custom DNS entry. I do this with my Mikrotik router.

    That should get things working internal and external.

  • [Help] How can I use a VPS to protect my home's ip?
  • I have done this before by setting up a Wireguard VPN link between my home server and a VPS, and then running a reverse proxy (such as Caddy) on the VPS, which basically forwarded web requests to my home server. This works well for most things, although there was a definite performance hit by routing traffic through the extra hop.

    By using the VPN connection, you wouldn't even need to open a port on your home network which is a great starting point for security as well.

  • Reddit already looks different for me
  • Agree, there is very low friction to switching off reddit onto another site offering a similar service with a better experience. Lemmy seems to be offering exactly that, and if we continue to see growth in posts and engagement, it will be very successful.

  • Lemmy instance with traefik
  • I see no reason you couldn't. Just change the listen port on the nginx config to something other than 80 (so it doesn't conflict), then tell treafik to send traffic to that port. Disclaimer, I'm not well versed with treafik, but have worked with several other reverse proxies to know the general idea.

  • Reddit Exodus: Welcoming the Selfhosted Community to Lemmy - Migrating to Freedom!
  • I for one am happy to find a new self-hosted community starting here! It's the one thing that kept me going back to reddit over the past few months but now am finding more and more I can shift my time here instead.

  • lemmy.ml is overloaded, use other instances instead
  • I could envision a 2nd class of server, running something like OAuth/OIDC, which handles the authentication into any Lemmy instance (or better yet, any ActivityPub based instance).

    This server would also be self-hostable, and provide only authentication services, so it would be rather lightweight. But would help reduce the load on the content servers.