ascii17

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by ascii17

  1. 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!