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?

  • InnerScientist@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    18 hours ago

    You can use caddy-l4 to redirect some traffic before (or after) tls and to different ports and hosts depending on FQDN.

    Though that is still experimental.