caddy works fine. However, I wonder if I need to worry about this warning “server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server {“server_name”: “srv1”, “http_port”: 80}”
caddy validate
2022/06/12 19:58:40.439 INFO using adjacent Caddyfile
2022/06/12 19:58:40.483 INFO http 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}
2022/06/12 19:58:40.484 INFO http enabling automatic HTTP->HTTPS redirects {"server_name": "srv0"}
2022/06/12 19:58:40.484 WARN http server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server {"server_name": "srv1", "http_port": 80}
2022/06/12 19:58:40.497 INFO tls.cache.maintenance started background certificate maintenance {"cache": "0xc0001ae000"}
2022/06/12 19:58:40.519 INFO tls.cache.maintenance stopped background certificate maintenance {"cache": "0xc0001ae000"}
Valid configuration