mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-26 21:53:48 +03:00
aad9f90cad
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 |