1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00
caddy/caddyconfig/httpcaddyfile
Francis Lavoie b129ed6be8
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
2024-10-30 17:09:12 +00:00
..
testdata caddyfile: Do not replace import tokens if they are part of a snippet (#5539) 2023-05-22 15:36:55 -06:00
addresses.go core: addresses.go funcs renames (#6622) 2024-10-21 08:02:29 -06:00
addresses_fuzz.go core: Windows service integration (#4790) 2022-07-29 14:06:54 -06:00
addresses_test.go httpcaddyfile: Preserve IPv6 addresses through normalization (fix #4381) 2021-10-20 10:27:59 -06:00
builtins.go core: Implement socket activation listeners (#6573) 2024-09-30 10:55:03 -06:00
builtins_test.go logging: Customizable zap cores (#6381) 2024-06-10 09:03:24 -06:00
directives.go core: Implement socket activation listeners (#6573) 2024-09-30 10:55:03 -06:00
directives_test.go core: Implement socket activation listeners (#6573) 2024-09-30 10:55:03 -06:00
httptype.go httpcaddyfile: Fixes for prefer_wildcard mode (#6636) 2024-10-30 17:09:12 +00:00
httptype_test.go caddyfile: Introduce basic linting and fmt check (#3923) 2021-01-04 11:11:36 -07:00
options.go metrics: move metrics up, outside servers (#6606) 2024-10-18 09:54:21 -06:00
options_test.go caddyconfig: add global option for configuring loggers (#4028) 2021-03-12 13:00:02 -07:00
pkiapp.go caddyfile: Normalize & flatten all unmarshalers (#6037) 2024-01-23 19:36:59 -05:00
serveroptions.go metrics: move metrics up, outside servers (#6606) 2024-10-18 09:54:21 -06:00
shorthands.go caddyhttp: New experimental handler for intercepting responses (#6232) 2024-05-13 17:38:18 +00:00
tlsapp.go httpcaddyfile: Fixes for prefer_wildcard mode (#6636) 2024-10-30 17:09:12 +00:00
tlsapp_test.go caddytls: Eval replacer on automation policy subjects (#5459) 2023-03-27 21:16:22 +00:00