Blank pages when upgrading from V1 to V2

Hi,

I’m upgrading Caddy from V1 to V2 on my home server. The problem i’m having now is I get blank pages on all applications/rules. I get a blank page on a website (koster.io) and I get blank pages on reverse_proxy directives (tv.chriskoster.nl)

Please find my config below (which Caddy accepts):

#POSITIVUM.NL
www.positivum.nl {
    redir https://positivum.nl{uri}
}

positivum.nl {
    root * /home/chris/web/positivum.nl
    encode gzip
    try_files {path}.html {path}
}

#KOSTER.IO
www.koster.io {
    redir https://koster.io{uri}
}

koster.io {
    root * /home/chris/web/koster.io
    encode gzip
    try_files {path}.html {path}

    basicauth /private* {
      chris JDJhJDE0JDhPZW40V09idkZ3SGRseXMwRk1ucWVGb3RzdDJxYzcub1dZL2xTOWRXM1FVRFdTMm9DNkUy
    }

    basicauth /portal* {
      chris JDJhJDE0JDhPZW40V09idkZ3SGRseXMwRk1ucWVGb3RzdDJxYzcub1dZL2xTOWRXM1FVRFdTMm9DNkUy
    }
    basicauth /releases* {
      chris JDJhJDE0JDhPZW40V09idkZ3SGRseXMwRk1ucWVGb3RzdDJxYzcub1dZL2xTOWRXM1FVRFdTMm9DNkUy
    }
}

#CHRISKOSTER.NL
www.chriskoster.nl {
    redir https://chriskoster.nl{uri}
}

chriskoster.nl {
    root * /home/chris/web/chriskoster.nl
    encode gzip
    basicauth /tv* {
      chris JDJhJDE0JDhPZW40V09idkZ3SGRseXMwRk1ucWVGb3RzdDJxYzcub1dZL2xTOWRXM1FVRFdTMm9DNkUy
    }
}

nzbhydra.chriskoster.nl {
    reverse_proxy *localhost:5076
}

nas.chriskoster.nl {
    reverse_proxy * 192.168.1.235:5000
}

transmission.chriskoster.nl {
    reverse_proxy * 192.168.1.235:9091
}

nzbget.chriskoster.nl {
    reverse_proxy * 192.168.1.235:6789
}

tvh.chriskoster.nl {
    reverse_proxy * localhost:9981
}

oscam.chriskoster.nl {
    reverse_proxy * localhost:8881
}

pihole.chriskoster.nl {
    reverse_proxy * 192.168.1.22
}

router.chriskoster.nl {
    reverse_proxy * 192.168.1.1
}

#k0s.nl
www.k0s.nl {
    redir https://k0s.nl{uri}
}

k0s.nl {
    reverse_proxy * 192.168.178.32
}

Ok tried some stuff, fixed some stuff (but not all) :slight_smile:

Rebooted router and flushed dns on my laptop. Now the reverse_proxy rules are working. The web applications (root * positivum.nl & root * koster.io) are still returning blank pages. I see the index.html returns a 200 HTTP response code but the actual response body is empty for that file.

Web applications also fixed, needed: file_server

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.