Recommended Posts

Hello, I am trying to setup Resilio sync web interface on my NAS (Synology DS220+) behind my internal caddy server.

However when I try to point the caddy reverse proxy to the NAS (10.6.1.10 in the config below) I end up creating a 301 loop and I am not sure how to debug the issue...
Here is the CaddyFile I use:

(tinyca) {
        tls {
                ca https://tinyca.lan/acme/acme/directory
                ca_root /usr/local/share/ca-certificates/tinyca/root_ca.crt
        }
}


pihole.lan {
        import tinyca
        reverse_proxy 10.2.1.5:8080
        encode zstd gzip
}

nas.home.lan {
        import tinyca
        reverse_proxy 10.6.1.10:5000
        encode zstd gzip
}

sync.home.lan {
        import tinyca
        reverse_proxy 10.6.1.10:8384
        encode zstd gzip
}

resilio.home.lan {
        import tinyca
        handle {
                reverse_proxy 10.6.1.10:28888
        }
        encode zstd gzip
}

I have tried to fiddle with the "rewrite" function but I haven't had any luck with that...
Thank you for any help!

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.