➜ caddy docker compose logs -f caddy
caddy-caddy-1 | {“level”:“info”,“ts”:1691328928.8986907,“msg”:“using provided configuration”,“config_file”:“/etc/caddy/Caddyfile”,“config_adapter”:“caddyfile”}
caddy-caddy-1 | {“level”:“warn”,“ts”:1691328928.8997047,“msg”:“Caddyfile input is not formatted; run ‘caddy fmt --overwrite’ to fix inconsistencies”,“adapter”:“caddyfile”,“file”:“/etc/caddy/Caddyfile”,“line”:2}
caddy-caddy-1 | {“level”:“info”,“ts”:1691328928.9005573,“logger”:“admin”,“msg”:“admin endpoint started”,“address”:“localhost:2019”,“enforce_origin”:false,“origins”:[“//localhost:2019”,“//[::1]:2019”,“//127.0.0.1:2019”]}
caddy-caddy-1 | {“level”:“info”,“ts”:1691328928.9007483,“logger”:“http.auto_https”,“msg”:“server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS”,“server_name”:“srv0”,“https_port”:443}
caddy-caddy-1 | {“level”:“info”,“ts”:1691328928.9007628,“logger”:“http.auto_https”,“msg”:“enabling automatic HTTP->HTTPS redirects”,“server_name”:“srv0”}
caddy-caddy-1 | {“level”:“info”,“ts”:1691328928.9008005,“logger”:“tls.cache.maintenance”,“msg”:“started background certificate maintenance”,“cache”:“0xc00071a080”}
caddy-caddy-1 | {“level”:“debug”,“ts”:1691328928.9052072,“logger”:“http.auto_https”,“msg”:“adjusted config”,“tls”:{“automation”:{“policies”:[{“subjects”:[“localhost”]},{}]}},“http”:{“servers”:{“remaining_auto_https_redirects”:{“listen”:[“:80”],“routes”:[{},{}]},“srv0”:{“listen”:[“:443”],“routes”:[{“handle”:[{“handler”:“subroute”,“routes”:[{“handle”:[{“body”:“Hello, world!”,“handler”:“static_response”}]}]}],“terminal”:true}],“tls_connection_policies”:[{}],“automatic_https”:{}}}}}
caddy-caddy-1 | {“level”:“info”,“ts”:1691328928.9057379,“logger”:“http”,“msg”:“enabling HTTP/3 listener”,“addr”:“:443”}
caddy-caddy-1 | {“level”:“info”,“ts”:1691328928.9058292,“msg”:“failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See UDP Buffer Sizes · quic-go/quic-go Wiki · GitHub for details.”}
caddy-caddy-1 | {“level”:“debug”,“ts”:1691328928.905953,“logger”:“http”,“msg”:“starting server loop”,“address”:“[::]:443”,“tls”:true,“http3”:true}
caddy-caddy-1 | {“level”:“info”,“ts”:1691328928.9059644,“logger”:“http.log”,“msg”:“server running”,“name”:“srv0”,“protocols”:[“h1”,“h2”,“h3”]}
caddy-caddy-1 | {“level”:“debug”,“ts”:1691328928.9060173,“logger”:“http”,“msg”:“starting server loop”,“address”:“[::]:80”,“tls”:false,“http3”:false}
caddy-caddy-1 | {“level”:“info”,“ts”:1691328928.906028,“logger”:“http.log”,“msg”:“server running”,“name”:“remaining_auto_https_redirects”,“protocols”:[“h1”,“h2”,“h3”]}
caddy-caddy-1 | {“level”:“info”,“ts”:1691328928.9060347,“logger”:“http”,“msg”:“enabling automatic TLS certificate management”,“domains”:[“localhost”]}
caddy-caddy-1 | {“level”:“info”,“ts”:1691328928.9061542,“logger”:“tls”,“msg”:“cleaning storage unit”,“description”:“FileStorage:/data/caddy”}
caddy-caddy-1 | {“level”:“info”,“ts”:1691328928.906202,“logger”:“tls”,“msg”:“finished cleaning storage units”}
caddy-caddy-1 | {“level”:“info”,“ts”:1691328928.9064713,“logger”:“tls.obtain”,“msg”:“acquiring lock”,“identifier”:“localhost”}
caddy-caddy-1 | {“level”:“info”,“ts”:1691328928.9088635,“logger”:“tls.obtain”,“msg”:“lock acquired”,“identifier”:“localhost”}
caddy-caddy-1 | {“level”:“info”,“ts”:1691328928.9089684,“logger”:“tls.obtain”,“msg”:“obtaining certificate”,“identifier”:“localhost”}
caddy-caddy-1 | {“level”:“debug”,“ts”:1691328928.909,“logger”:“events”,“msg”:“event”,“name”:“cert_obtaining”,“id”:“34b0487a-30d3-4d33-b558-5a67ca05ef3b”,“origin”:“tls”,“data”:{“identifier”:“localhost”}}
caddy-caddy-1 | {“level”:“debug”,“ts”:1691328928.909375,“logger”:“tls.obtain”,“msg”:“trying issuer 1/1”,“issuer”:“local”}
caddy-caddy-1 | {“level”:“debug”,“ts”:1691328928.909971,“logger”:“pki.ca.local”,“msg”:“using intermediate signer”,“serial”:“43392011051282107580898623067351752696”,“not_before”:“2023-08-06 13:35:28 +0000 UTC”,“not_after”:“2023-08-13 13:35:28 +0000 UTC”}
caddy-caddy-1 | {“level”:“info”,“ts”:1691328928.9107869,“logger”:“tls.obtain”,“msg”:“certificate obtained successfully”,“identifier”:“localhost”}
caddy-caddy-1 | {“level”:“debug”,“ts”:1691328928.9108846,“logger”:“events”,“msg”:“event”,“name”:“cert_obtained”,“id”:“4de04bd7-81c2-4c9f-b4f7-bcdb0147158a”,“origin”:“tls”,“data”:{“certificate_path”:“certificates/local/localhost/localhost.crt”,“identifier”:“localhost”,“issuer”:“local”,“metadata_path”:“certificates/local/localhost/localhost.json”,“private_key_path”:“certificates/local/localhost/localhost.key”,“renewal”:false,“storage_path”:“certificates/local/localhost”}}
caddy-caddy-1 | {“level”:“info”,“ts”:1691328928.9109106,“logger”:“tls.obtain”,“msg”:“releasing lock”,“identifier”:“localhost”}
caddy-caddy-1 | {“level”:“warn”,“ts”:1691328928.9113524,“logger”:“tls”,“msg”:“stapling OCSP”,“error”:“no OCSP stapling for [localhost]: no OCSP server specified in certificate”,“identifiers”:[“localhost”]}
caddy-caddy-1 | {“level”:“debug”,“ts”:1691328928.9113693,“logger”:“tls.cache”,“msg”:“added certificate to cache”,“subjects”:[“localhost”],“expiration”:1691372129,“managed”:true,“issuer_key”:“local”,“hash”:“96043dfae69479651e385ec49bb01ba68fb875317e15b5d20e3a37af67e757e8”,“cache_size”:1,“cache_capacity”:10000}
caddy-caddy-1 | {“level”:“debug”,“ts”:1691328928.9113889,“logger”:“events”,“msg”:“event”,“name”:“cached_managed_cert”,“id”:“d4f61f9f-4c8f-4440-a1d3-b807105ff910”,“origin”:“tls”,“data”:{“sans”:[“localhost”]}}
caddy-caddy-1 | {“level”:“warn”,“ts”:1691328928.931096,“logger”:“pki.ca.local”,“msg”:“installing root certificate (you might be prompted for password)”,“path”:“storage:pki/authorities/local/root.crt”}
caddy-caddy-1 | {“level”:“info”,“ts”:1691328928.9314368,“msg”:“define JAVA_HOME environment variable to use the Java trust”}
caddy-caddy-1 | {“level”:“info”,“ts”:1691328928.9314532,“msg”:“warning: "certutil" is not available, install "certutil" with "apt install libnss3-tools" or "yum install nss-tools" and try again”}
caddy-caddy-1 | {“level”:“info”,“ts”:1691328928.9790227,“msg”:“certificate installed properly in linux trusts”}
caddy-caddy-1 | {“level”:“info”,“ts”:1691328928.9792337,“msg”:“autosaved config (load with --resume flag)”,“file”:“/config/caddy/autosave.json”}
caddy-caddy-1 | {“level”:“info”,“ts”:1691328928.9792478,“msg”:“serving initial configuration”}
caddy-caddy-1 | {“level”:“debug”,“ts”:1691328932.681355,“logger”:“events”,“msg”:“event”,“name”:“tls_get_certificate”,“id”:“8e99e2fc-a3be-4982-a72d-84b39a8dd4fc”,“origin”:“tls”,“data”:{“client_hello”:{“CipherSuites”:[39578,4865,4866,4867,49195,49199,49196,49200,52393,52392,49171,49172,156,157,47,53],“ServerName”:“localhost”,“SupportedCurves”:[35466,29,23,24],“SupportedPoints”:“AA==”,“SignatureSchemes”:[1027,2052,1025,1283,2053,1281,2054,1537],“SupportedProtos”:[“h2”,“http/1.1”],“SupportedVersions”:[43690,772,771],“Conn”:{}}}}
caddy-caddy-1 | {“level”:“debug”,“ts”:1691328932.6816857,“logger”:“tls.handshake”,“msg”:“choosing certificate”,“identifier”:“localhost”,“num_choices”:1}
caddy-caddy-1 | {“level”:“debug”,“ts”:1691328932.6817124,“logger”:“tls.handshake”,“msg”:“default certificate selection results”,“identifier”:“localhost”,“subjects”:[“localhost”],“managed”:true,“issuer_key”:“local”,“hash”:“96043dfae69479651e385ec49bb01ba68fb875317e15b5d20e3a37af67e757e8”}
caddy-caddy-1 | {“level”:“debug”,“ts”:1691328932.6817288,“logger”:“tls.handshake”,“msg”:“matched certificate in cache”,“remote_ip”:“172.31.0.1”,“remote_port”:“51322”,“subjects”:[“localhost”],“managed”:true,“expiration”:1691372129,“hash”:“96043dfae69479651e385ec49bb01ba68fb875317e15b5d20e3a37af67e757e8”}
caddy-caddy-1 | {“level”:“debug”,“ts”:1691328932.6837966,“logger”:“http.stdlib”,“msg”:“http: TLS handshake error from 172.31.0.1:51322: remote error: tls: unknown certificate”}