In the middle of trying to set up Caddy as a reverse proxy for my *arr stack. All local only - no domains or accessing from outwith the LAN.

Wondering if anyone has done similar and wouldn’t mind sharing their docker compose files/Caddyfiles? Struggling to find real-work examples that don’t error when I compose.

  • uranibaba@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    16 hours ago

    Here is two enteries from my Caddyfile:

    ip.domain.tld:80 {
            respond "{client_ip}" 200
    }
    
    
    git.domain.tld {
            reverse_proxy forgejo:3000
    }
    

    This is all I need and Caddy will handle the rest. I have created a network with podman/docker that I add to any container that I need to reverse proxy to.