1. Caddy version (caddy version
):
v2.4.6 h1:HGkGICFGvyrodcqOOclHKfvJC0qTU7vny/7FhYp9hNw=
2. How I run Caddy:
a. System environment:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.6 LTS"
Caddy is running using systemd
b. Command:
systemctl start caddy
c. Service/unit/compose file:
[Unit]
Description=Caddy
Documentation=https://caddyserver.com/docs/
After=network.target network-online.target
Requires=network-online.target
[Service]
Type=notify
User=caddy
Group=caddy
ExecStart=/usr/bin/caddy run --config /etc/caddy/Caddyfile
ExecReload=/usr/bin/caddy reload -config /etc/caddy/Caddyfile
TimeoutStopSec=5s
LimitNOFILE=1048576
LimitNPROC=512
PrivateTmp=true
ProtectSystem=full
AmbientCapabilities=CAP_NET_BIND_SERVICE
[Install]
WantedBy=multi-user.target
d. My complete Caddyfile or JSON config:
report.alpenv.eurac.edu {
tls it@eurac.edu
basicauth /LTER/* {
...
}
basicauth /MONALISA/* {
...
}
file_server /LTER/* {
root /lter/
hide *.dat *.csv *.tar
}
file_server /MONALISA/* {
root /lter/
hide *.dat *.csv *.tar
}
}
pics.alpenv.eurac.edu {
tls it@eurac.edu
file_server /* {
root /lter/pics
hide *.dat *.csv *.tar
}
}
3. The problem I’m having:
Everything is working except we are seeing a continouse flow of the below logs.
4. Error messages and/or full log output:
Feb 01 13:43:23 XDCltb02 caddy[14593]: {"level":"error","ts":1643719403.3632011,"logger":"tls.issuance.acme","msg":"looking up info for HTTP challenge","host":"pics.alpenv.eurac.edu","error":"no information found to solve challenge for identifier: pics.alpenv.eurac.edu"}
Feb 01 13:43:23 XDCltb02 caddy[14593]: {"level":"error","ts":1643719403.3632681,"logger":"tls.issuance.acme","msg":"looking up info for HTTP challenge","host":"pics.alpenv.eurac.edu","error":"no information found to solve challenge for identifier: pics.alpenv.eurac.edu"}
Feb 01 13:43:29 XDCltb02 caddy[14593]: {"level":"error","ts":1643719409.7133195,"logger":"tls.issuance.acme","msg":"looking up info for HTTP challenge","host":"report.alpenv.eurac.edu","error":"no information found to solve challenge for identifier: report.alpenv.eurac.edu"}
Feb 01 13:43:29 XDCltb02 caddy[14593]: {"level":"error","ts":1643719409.7134006,"logger":"tls.issuance.acme","msg":"looking up info for HTTP challenge","host":"report.alpenv.eurac.edu","error":"no information found to solve challenge for identifier: report.alpenv.eurac.edu"}
5. What I already tried:
- We stopped Caddy removed all directories under
/var/lib/caddy/.local
. Started Caddy again everytime with the same result that we see the above logs. - Add the following to the
Caddyfile
:
pics-ts.alpenv.eurac.edu {
tls it@eurac.edu
file_server /* {
root /mnt/pics
hide *.dat *.csv *.tar
}
}
For the test domain no such error messages are generated.
3. Tested with curl -I http://<domain>
that the redirect work and that the Ports 80 & 443 are reachable.