Before, listener ports could be wrong because ParseAddress doesn't know about the user-configured HTTP/HTTPS ports, instead hard-coding port 80 or 443, which could be wrong if the user changed them to something else. Now we defer port and scheme validation/inference to a later part of building the output JSON. |
||
|---|---|---|
| .. | ||
| caddyfile | ||
| httpcaddyfile | ||
| json5 | ||
| jsonc | ||
| configadapters.go | ||