caddy/modules
Matthew Holt 178ba024fe
httpcaddyfile: Put root directive first, before redir and rewrite
See https://caddy.community/t/v2-match-any-path-but-files/7326/8?u=matt

If rewrites (or redirects, for that matter) match on file existence,
the file matcher would need to know the root of the site.

Making this change implies that root directives that depend on rewritten
URIs will not work as expected. However, I think this is very uncommon,
and am not sure I have ever seen that. Usually, dynamic roots are based
on host, not paths or query strings.

I suspect that rewrites based on file existence will be more common than
roots based on rewritten URIs, so I am moving root to be the first in
the list.

Users can always override this ordering with the 'order' global option.
2020-03-28 19:07:51 -06:00
..
caddyhttp httpcaddyfile: Put root directive first, before redir and rewrite 2020-03-28 19:07:51 -06:00
caddypki pki: Don't treat cert installation failure as error 2020-03-14 15:20:04 -06:00
caddytls caddytls: Remove ManageSync 2020-03-26 14:02:29 -06:00
filestorage httpcaddyfile: Many tls-related improvements including on-demand support 2020-03-17 21:00:45 -06:00
logging logging: Fix off-by-one for roll size MB from Caddyfile 2020-03-24 08:20:49 -06:00
standard Remove some non-essential plugins from this repo (#2780) 2020-03-24 10:37:47 -06:00