I have a lemmy instance running but I’m having trouble with my reverse proxy config. I’m using Caddy. Previously I had used nginx but didn’t end up keeping the instance alive. Now I want to get it back up but I’ve since switched to Caddy because it’s just easier. I have several self hosted services already working great with caddy and don’t want to disrupt that.

I’ve found a few configs online but none seem to work. I’m running this on a standard ubuntu server 22.04 box.

Any ideas or suggestions?

  • @[email protected]
    link
    fedilink
    English
    023 days ago

    Caddy does not need 80 and 443. I’ve changed them to unprivileged ports like 8000 and 8443.

    Besides, op doesn’t mention having problems with ports

    • @[email protected]
      link
      fedilink
      English
      123 days ago

      Caddy does not need 80 and 443.

      By default and all measurable expectation it does. Unless you can’t use privileged HTTP/HTTPS ports, there’s no real reason to use unprivileged ports.

      Besides, op doesn’t mention having problems with ports

      OP said he was having issues, and this is a common issue I’ve had. Since he was non-descript as to what the issues were, it’s really not stupid to mention it.