1. The problem I’m having:
I have been using caddy on a ubuntu 22.04 server for a while now with no issues. Recently I have added a subdomain to my caddyfile. When I try to access that subdomain I get a 526 error of a invalid certificate page from cloudflare, which I am proxied through. The subdomain is setup just as all my other subdomains on my cloudflare DNS settings (CNAME).
2. Error messages and/or full log output:
$ journalctl -u caddy --no-pager | less +G`
this command gives me a prompt but no info.
3. Caddy version:
v2.6.4
4. How I installed and ran Caddy:
a. System environment:
Ubuntu 22.04 server, systemd
d. My complete Caddy config:
domain.me {
redir https://cloud.domain.me{uri}
}
cloud.domain.me {
header Strict-Transport-Security max-age=31536000;
reverse_proxy localhost:11000
}
fmd.domain.me {
reverse_proxy localhost:1020
}
#eye.domain.me {
# reverse_proxy localhost:8081
#}
cctv.domain.me {
reverse_proxy localhost:8765
}
speed.domain.me {
reverse_proxy localhost:3000
}
#test.domain.me {
# reverse_proxy localhost:9081
#}
fmd is the new subdomain I have problems with.
I have tried uninstalling and reinstalling caddy, but no change.
Thanks for your help