0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00
caddy/caddyhttp
Matthew Holt e0f1a02c37
Extract most of caddytls core code into external CertMagic package
All code relating to a caddytls.Config and setting it up from the
Caddyfile is still intact; only the certificate management-related
code was removed into a separate package.

I don't expect this to build in CI successfully; updating dependencies
and vendor is coming next.

I've also removed the ad-hoc, half-baked storage plugins that we need
to finish making first-class Caddy plugins (they were never documented
anyway). The new certmagic package has a much better storage interface,
and we can finally move toward making a new storage plugin type, but
it shouldn't be configurable in the Caddyfile, I think, since it doesn't
make sense for a Caddy instance to use more than one storage config...

We also have the option of eliminating DNS provider plugins and just
shipping all of lego's DNS providers by using a lego package (the
caddytls/setup.go file has a comment describing how) -- but it doubles
Caddy's binary size by 100% from about 19 MB to around 40 MB...!
2018-12-10 19:49:29 -07:00
..
basicauth basicauth: Make test pass with Go 1.10 2018-02-18 00:13:11 -07:00
bind Extract most of caddytls core code into external CertMagic package 2018-12-10 19:49:29 -07:00
browse browse: filter on document load (#2368) 2018-11-25 19:35:15 +00:00
errors Prevent errors test fail if $GOPATH is something like /home/user/caddy (#2347) 2018-11-17 21:51:08 +00:00
expvar Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
extensions Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
fastcgi fastcgi: Add default timeouts (#2265) 2018-09-02 15:28:10 -06:00
gzip gzip: Add .m3u and .m3u8 (HLS playlist files) (#2182) 2018-06-07 23:38:55 -06:00
header Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
httpserver Extract most of caddytls core code into external CertMagic package 2018-12-10 19:49:29 -07:00
index Implement per-site index (#1906) 2017-10-29 21:13:10 +00:00
internalsrv Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
limits Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
log log: 'except' subdirective to skip logging certain requests (#2028) 2018-03-26 17:17:43 -06:00
markdown markdown: Fix 500 error (#2266) 2018-08-15 23:35:06 -06:00
mime Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
pprof Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
proxy proxy: HTTP status 499 for 'Context canceled' errors (#2297) 2018-11-16 13:52:34 -07:00
push Implement per-site index (#1906) 2017-10-29 21:13:10 +00:00
redirect redir: Do not count multiple rules with if statements as duplicates 2017-09-28 11:41:11 -06:00
requestid request_id: Allow reusing ID from header (closes #2012) 2018-02-02 19:59:28 -07:00
rewrite rewrite: Regular expression support for simple rule (#2082) 2018-04-14 19:40:55 -06:00
root Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
staticfiles staticfiles: Prevent path-based open redirects 2018-02-11 13:30:01 -07:00
status Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
templates templates: delete ETag and Last-Modified headers (#2338) 2018-11-18 14:06:54 -07:00
timeouts Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
websocket Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
caddyhttp.go startup/shutdown: Remove deprecated startup/shutdown directives (#2033) 2018-02-21 10:56:09 -07:00
caddyhttp_test.go startup/shutdown: Remove deprecated startup/shutdown directives (#2033) 2018-02-21 10:56:09 -07:00