caddy/caddyconfig
Matthew Holt 160d199999
caddytest: Update Caddyfile tests for formatting, HTTP-only blocks
Previous commit improved the Caddyfile adapter so it doesn't unnecessarily add names to "skip" in "auto_https" when the server is already HTTP-only.

This commit updates the tests to reflect that change, while also fixing the Caddyfile formatting in many of the tests.

We also print the line number of the divergence between input and formatted version in Caddyfile adapt warnings - very useful for finding initial formatting problems.
2021-01-19 14:21:11 -07:00
..
caddyfile caddytest: Update Caddyfile tests for formatting, HTTP-only blocks 2021-01-19 14:21:11 -07:00
httpcaddyfile httpcaddyfile: Skip TLS APs for HTTP-only hosts (fix #3977) 2021-01-19 14:16:06 -07:00
configadapters.go caddyfile: Introduce basic linting and fmt check (#3923) 2021-01-04 11:11:36 -07:00
load.go caddyconfig: register adapters as Caddy modules (#3132) 2020-03-21 16:49:10 -06:00