You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
5 years ago
..
caddyauth
caddyauth: Add Metadata field to caddyauth.User (#3174)
5 years ago
encode
Remove some non-essential plugins from this repo (#2780)
5 years ago
fileserver
file_server: Fix dumb error check I must have written at 1am
5 years ago
headers
header: caddyfile: Defer header operations for deletions or manually
5 years ago
requestbody
Remove some non-essential plugins from this repo (#2780)
5 years ago
reverseproxy
reverse_proxy: Upstream.String() method returns either LookupSRV or Dial
5 years ago
rewrite
httpcaddyfile: Unify strip_prefix, strip_suffix, uri_replace directives (#3157)
5 years ago
standard
Remove some non-essential plugins from this repo (#2780)
5 years ago
templates
templates: Enable Goldmark's footnote extension (closes #3136)
5 years ago
app.go
caddyhttp: Clean up; move some code around
5 years ago
autohttps.go
caddyhttp: Always provision ACME issuers (fix terms agree error)
5 years ago
caddyhttp.go
httpcaddyfile: Put root directive first, before redir and rewrite
5 years ago
celmatcher.go
go.mod: Update some deps; add new Strings lib to CEL matcher
5 years ago
errors.go
http: Change routes to sequential matcher evaluation (#2967)
5 years ago
marshalers.go
http: Fix ciphersuite logging
5 years ago
matchers.go
reverse_proxy: Add support for SRV backends (#3180)
5 years ago
matchers_test.go
caddyhttp: Support path matcher of "*" without panic
5 years ago
replacer.go
Refactor for CertMagic v0.10; prepare for PKI app
5 years ago
replacer_test.go
Refactor for CertMagic v0.10; prepare for PKI app
5 years ago
responsewriter.go
http: Always set status code via response recorder
5 years ago
routes.go
httpcaddyfile: Fix nested blocks; add handle directive; refactor
5 years ago
server.go
caddyhttp: Specify default access log for a server (fix #3185)
5 years ago
staticerror.go
Export Replacer and use concrete type instead of interface
5 years ago
staticresp.go
httpcaddyfile: Update directive docs; put root after rewrite
5 years ago
staticresp_test.go
Implement config adapters and beginning of Caddyfile adapter
6 years ago
subroute.go
http: Fix subroutes, ensure that next handlers can still be called
5 years ago
vars.go
v2: Implement RegExp Vars Matcher (#2997)
5 years ago