diff options
author | Francis Lavoie <[email protected]> | 2024-10-30 13:09:12 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2024-10-30 17:09:12 +0000 |
commit | b129ed6be88e40667a843bfab74abb3e5239bc8f (patch) | |
tree | 0d4e1b47ded49079123b0f1fcd8f558c2d2c28fc /storage.go | |
parent | d398898b352a6a7e8ac5c24da01dd948fc334d77 (diff) | |
download | caddy-b129ed6be88e40667a843bfab74abb3e5239bc8f.tar.gz caddy-b129ed6be88e40667a843bfab74abb3e5239bc8f.zip |
httpcaddyfile: Fixes for `prefer_wildcard` mode (#6636)
* httpcaddyfile: Fixes for prefer_wildcard mode
The wildcard hosts need to be collected first, then considered after, because there's no guarantee that all non-wildcards will appear after all wildcards when looping. Also we should not add a domain to Skip if it doesn't qualify for TLS anyway.
* Alternate solution by avoiding adding APs altogether if covered by wildcard
Diffstat (limited to 'storage.go')
0 files changed, 0 insertions, 0 deletions