43 Commits (d74913f871414ddac9a3884fc6aef4492ee4f65f)

Author SHA1 Message Date
Matthew Holt 191dc86f9e
fileserver: Clarify docs about canonicalization 4 years ago
Matt Holt 9d4ed3a323
caddyhttp: Refactor and export SanitizedPathJoin for use in fastcgi (#4207) 4 years ago
Matthew Holt fbd6560976
fileserver: Only redirect if filename not rewritten (fix #4205) 4 years ago
Matthew Holt e8ae80adca
fileserver: Don't persist parsed template (fix #4202) 4 years ago
Matthew Holt 8848df9c5d
Revert "fileserver: Redirect within the original URL (#4179)" 4 years ago
diamondburned f9b54454a1
fileserver: Redirect within the original URL (#4179) 4 years ago
Jason Du 637fd8f67b
fileserver: Share template logic for both `templates` and `file_server browse` (#4093) 4 years ago
Francis Lavoie 3a1e81dbf6
fileserver: Better handling of HTTP status override (#4132) 4 years ago
Francis Lavoie 3f6283b385
fileserver: Add status code override (#4076) 4 years ago
Steffen Brüheim f35a7fa466
encode,staticfiles: Content negotiation, precompressed files (#4045) 4 years ago
Francis Lavoie 0018b9be0d
fileserver: Add a few more debug lines (#4063) 4 years ago
Matthew Holt 5bf0a55df4
fileserver: Don't replace in request paths (fix #4027) 4 years ago
Matthew Holt 7d7434c9ce
fileserver: Add debug logging 4 years ago
Matthew Holt 0a7721dcfe
fileserver: Preserve transformed root (fix #3838) 4 years ago
Dave Henderson bd17eb205d
ci: Use golangci's github action for linting (#3794) 4 years ago
Matt Holt 8d038ca515
fileserver: Improve and clarify file hiding logic (#3844) 4 years ago
Francis Lavoie b95b87381a
fileserver: Fix try_files for directories; windows fix (#3684) 4 years ago
Matthew Holt 0ee4378227
fileserver: Improve file hiding logic for directories and prefixes 4 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
Matt Holt 3c90e370a4
v2: Module documentation; refactor LoadModule(); new caddy struct tags (#2924) 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
Matt Holt b00dfd3965
v2: Logging! (#2831) 5 years ago
Matthew Holt e12c62e60b
file_server: Enforce URL canonicalization (closes #2741) 5 years ago
Matthew Holt 14f9662f9c
Various fixes/tweaks to HTTP placeholder variables and file matching 5 years ago
Matthew Holt c9980fd367
Refactor Caddyfile adapter and module registration 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 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
Matthew Holt aaacab1bc3 Sanitize paths in static file server; some cleanup 6 years ago
Matthew Holt 22995e5655 Implement most of browse; fix a couple obvious bugs; some cleanup 6 years ago
Matthew Holt fec7fa8bfd Implement most of static file server; refactor and improve Replacer 6 years ago
Matthew Holt 2d056fbe66 Initial commit of Storage, TLS, and automatic HTTPS implementations 6 years ago
Matthew Holt 6621406fa8 Very basic middleware and route matching functionality 6 years ago