47 Commits (7527c0170558ce7e31b79b7bc31dbf2f25afd983)

Author SHA1 Message Date
Matt Holt a5ebec0041
http: Change routes to sequential matcher evaluation (#2967) 5 years ago
Matthew Holt 788462bd4c
file-server command: Use safer defaults; http: improve host matcher docs 5 years ago
Matthew Holt fdabac51a8
Improve docs, especially w.r.t. placeholders and template actions 5 years ago
Matthew Holt 95d944613b
Export Replacer and use concrete type instead of interface 5 years ago
Matthew Holt 95ed603de7
Improve godocs all around 5 years ago
Matthew Holt 724c728678
rewrite: Attempt query string fix (#2891) 5 years ago
Matthew Holt 5e9d81b507
try_files, rewrite: allow query string in try_files (fix #2891) 5 years ago
Matt Holt 3c90e370a4
v2: Module documentation; refactor LoadModule(); new caddy struct tags (#2924) 5 years ago
Matthew Holt db4293cb5f
reverse_proxy: Add flush_interval to caddyfile syntax (#1460) 5 years ago
Matthew Holt 9fe54e1c60
file_server: Use HTTPS port when a qualifying domain is specified 5 years ago
Matthew Holt b43e986a52
file_server: Optional pass_thru mode 5 years ago
Matthew Holt 8025ad9107
cmd: Disable admin endpoint for file-server and reverse-proxy commands 5 years ago
Matthew Holt 0ca109db4a
Minor cleanups 5 years ago
Matt Holt b00dfd3965
v2: Logging! (#2831) 5 years ago
Matt Holt 2f91b44587
v2: Make tests work on Windows (#2782) 5 years ago
Matthew Holt 65c060f56e
file_server: Set default address to :2015 if --listen not specified 5 years ago
Matthew Holt c11e3bffd6
Add file-server and reverse-proxy subcommands 5 years ago
Matthew Holt 2459c292a4
caddyfile: Improve Dispenser.NextBlock() to support nesting 5 years ago
Matthew Holt e12c62e60b
file_server: Enforce URL canonicalization (closes #2741) 5 years ago
Matthew Holt 97ace2a39e
File matcher enforces trailing-slash convention to match dirs/files 5 years ago
Matthew Holt 4bd9496525
Fix Schrodinger's file existence check in file matcher 5 years ago
Matthew Holt 14f9662f9c
Various fixes/tweaks to HTTP placeholder variables and file matching 5 years ago
Matthew Holt d242f10eda
Add query_string to HTTP replacer and use it for try_files 5 years ago
Mohammed Al Sahaf a0fd2b6c0a Fix SIV where /v2 was missing from caddyfile adapter work (#2721) 6 years ago
Matthew Holt c0da7d487a
file_server: Automatically hide all involved Caddyfiles 6 years ago
Matthew Holt c9980fd367
Refactor Caddyfile adapter and module registration 6 years ago
Matthew Holt c4159ef76d
Fix module-related errors 6 years ago
Matthew Holt ab885f07b8
Implement config adapters and beginning of Caddyfile adapter 6 years ago
Dominik Braun 4950ce485f Part 1: Optimize using compiler's inliner (#2687) 6 years ago
Matthew Holt bdf92ee84e
Minor tweaks 6 years ago
Matthew Holt ccb5d19c25
Get module name at runtime, and tidy up modules 6 years ago
Matthew Holt eb8625f774
Add error & subroute handlers; weakString; other minor handler changes 6 years ago
Matt Holt 9343403358
Flatten HTTP handler config (#2662) (#2663) 6 years ago
Matthew Holt 4a3a418156
Flatten HTTP handler config (#2662) 6 years ago
Matthew Holt 42acdad9e5
Fix error handling with Validate when loading modules (fixes #2658) 6 years ago
Matthew Holt fdd871e177
go.mod: Append /v2 to module name; update all import paths 6 years ago
Matthew Holt 3177ee8010 Add license 6 years ago
Matthew Holt a63cb3e3fd Implement etag; fix related bugs in encode and templates middlewares 6 years ago
Matthew Holt d49f762f6d Various bug fixes and minor improvements 6 years ago
Matthew Holt 5137859e47 Rename caddy2 -> caddy 6 years ago
Matthew Holt ef5f29cfb2 Do not allow Go standard lib to sniff Content-Type header 6 years ago
Matthew Holt 613aecb898 Change import paths to GitHub package names 6 years ago
Matthew Holt bc00d840e8 Export types and fields necessary to build configs (for config adapters) 6 years ago
Matthew Holt 2fd98cb040 Module.New() does not need to return an error 6 years ago
Matthew Holt 9d54f655aa Take care of remaining TODOs in the browse responder 6 years ago
Matthew Holt 65195a726d Implement rewrite middleware; fix middleware stack bugs 6 years ago
Matthew Holt a969872850 Default error handler; rename StaticFiles -> FileServer 6 years ago