mirror of https://github.com/caddyserver/caddy.git
1e18afb5c8
Previously, our "duplicate key in server block" logic was flawed because it did not account for the site's bind address. We defer this check to when the listener addresses have been assigned, but before we commit a server block to its listener. Also refined how network address parsing and joining works, which was necessary for a less convoluted fix. |
||
---|---|---|
.. | ||
integration | ||
a.caddy.localhost.crt | ||
a.caddy.localhost.key | ||
caddy.ca.cer | ||
caddy.localhost.crt | ||
caddy.localhost.key | ||
caddytest.go | ||
caddytest_test.go |