Those should go on their own lines, before and after the config/logs.
Thank you, seems like i misunderstood the hint
What do you see in Caddy’s logs?
{"level":"info","ts":1613368487.4460082,"msg":"using provided configuration","config_file":"/etc/caddy/Caddyfile","config_adapter":"caddyfile"}
{"level":"info","ts":1613368487.45388,"logger":"admin","msg":"admin endpoint started","address":"tcp/localhost:2019","enforce_origin":false,"origins":["[::1]:2019","127.0.0.1:2019","localhost:2019"]}
{"level":"info","ts":1613368487.4554117,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc0002e0000"}
{"level":"info","ts":1613368487.4561076,"logger":"http","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}
{"level":"info","ts":1613368487.456145,"logger":"http","msg":"enabling automatic HTTP->HTTPS redirects","server_name":"srv0"}
{"level":"info","ts":1613368487.458584,"logger":"http","msg":"enabling automatic TLS certificate management","domains":["tomcat.mydomain.com"]}
{"level":"info","ts":1613368487.4631104,"logger":"tls","msg":"cleaned up storage units"}
{"level":"info","ts":1613368487.5425212,"msg":"autosaved config","file":"/config/caddy/autosave.json"}
{"level":"info","ts":1613368487.542556,"msg":"serving initial configuration"}
Nothing special i guess, when i access the site it’s not throwing any errors there.
And what are in the tomcat logs?
2021-02-15 06:07:16.941 WARN o.a.j.x.d.i.d.DOMReference:530 - The input bytes to the digest operation are null. This may be due to a problem with the Reference URI or its Transforms.
2021-02-15 06:07:16.950 WARN o.a.j.x.d.i.d.DOMReference:530 - The input bytes to the digest operation are null. This may be due to a problem with the Reference URI or its Transforms.
2021-02-15 06:07:18.439 INFO o.e.c.EhcacheManager:305 - Cache 'org.apache.cxf.ws.security.tokenstore.TokenStore-786309127' created in EhcacheManager.
2021-02-15 06:07:18.541 WARN o.a.j.x.d.i.d.DOMReference:530 - The input bytes to the digest operation are null. This may be due to a problem with the Reference URI or its Transforms.
2021-02-15 06:07:18.543 WARN o.a.j.x.d.i.d.DOMReference:530 - The input bytes to the digest operation are null. This may be due to a problem with the Reference URI or its Transforms.
Thats the only part that’s different from our old Apache setup. So my interpretation would be, that maybe no information came back from the client because caddy tries to redirect it to the wrong URI?