Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-1062.4.3.el7.x86_64
Yes: systemd Service Unit for Caddy
https://github.com/caddyserver/caddy/tree/master/dist/init/linux-systemd
1. My Caddy version (caddy -version
):
Caddy 0.11.4
2. How I run Caddy:
a. System environment:
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-1062.4.3.el7.x86_64
Yes: systemd Service Unit for Caddy
d. My complete Caddyfile:
example.com, www.example.com {
proxy / centosweb01:80 {
transparent
tls ben@example.com
}
gzip
}
pad.example.com, www.pad.example.com {
proxy / server06:9001
transparent
tls ben@example.com
}
serv.example.com, www.serv.example.com {
proxy / server05:8080
}
docs.example.com, www.docs.example.com {
proxy / docs02:80 {
transparent
}
}
3. The problem I’m having:
Was working well for a few months. but now caddy will not start. This site can’t be reached…
4. Error messages and/or full log output:
– Logs begin at Sat 2019-11-23 08:28:26 EST. –
Nov 23 08:28:33 caddyServer22 systemd[1]: Started Caddy HTTP/2 web server.
Nov 23 08:28:33 caddyServer22 systemd[1]: caddy.service: main process exited, code=exited, status=1/FAILURE
Nov 23 08:28:33 caddyServer22 systemd[1]: Unit caddy.service entered failed state.
Nov 23 08:28:33 caddyServer22 systemd[1]: caddy.service failed.
5. What I already tried:
reading the forums, restarting, updating CentOS.