mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-23 13:12:13 +08:00
d8391d6fbd
Addresses which fail to resolve are handled more gracefully in the two most common cases: the hostname doesn't resolve or the port is unknown (like "http" on a system that doesn't support that port name). If the hostname doesn't resolve, the host is served on the listener at host 0.0.0.0. If the port is unknown, we attempt to rewrite it as a number manually and try again. |
||
---|---|---|
.. | ||
parse | ||
setup | ||
config_test.go | ||
config.go | ||
directives.go |