Matt Holt
1867ded14c
caddytls: Change clustering to be a plugin to the caddytls package ( #2459 )
...
* caddytls: Change clustering to be a plugin to the caddytls package
Should resolve the failure in
https://github.com/coredns/coredns/pull/2541 .
This change is breaking to clustering plugin developers (not Caddy
users), but logical, since only the caddytls package uses CertMagic
directly (the httpserver package also uses it, but only because it also
uses the caddytls plugin); and it is early enough that no clustering
plugins really exist yet.
This will also require a change of devportal
so that it looks for a different registration function, which has moved
to the caddytls package.
* Remove unused variable
* caddyhttp: Fix test (adjust plugin counting)
* ummmm, remove extra line break
somehow VS Code didn't fmt on save... weird.
2019-02-08 13:06:21 -07:00
Matthew Holt
393bc2992e
Add clustering plugin types; use latest certmagic.Storage interface
2018-12-11 12:13:48 -07:00
Matthew Holt
f03ad80701
Update tests after large refactor
2018-12-10 20:08:29 -07:00
elcore
5552dcbbc7
startup/shutdown: Remove deprecated startup/shutdown directives ( #2033 )
...
* caddy: Remove deprecated startup/shutdown directives
* caddyhttp: Remove deprecated startup/shutdown directives
Users should use 'on startup' and 'on shutdown' instead.
2018-02-21 10:56:09 -07:00
elcore
118cf5f240
Implement 'http.on' plugin and replace UUID lib ( #1864 )
...
* Implement 'command' plugin
* Rename 'command' to 'on'
* Split this PR
2017-10-01 11:24:50 -06:00
Matthew Holt
baf6db5b57
Apply Apache license to all .go source files ( closes #1865 )
...
I am not a lawyer, but according to the appendix of the license,
these boilerplate notices should be included with every source file.
2017-09-22 23:56:58 -06:00
Toby Allen
133ed18374
Create request_id directive #1590 ( #1711 )
...
* Create request_id directive #1590
* Address Comments
* Fix TestListenerAddrEqual
* requestid: Add some tests
* Address Comments by tobya
* Address Comments
2017-06-24 13:54:35 -07:00
elcore
a56a833423
caddyhttp: New index directive for alternate index file names ( #1567 )
...
* caddyhttp: Allow to alternate Index
* Move Index directive
* Fix misspelling outside this PR
2017-04-17 11:02:44 -06:00
Mateusz Gajewski
cdf7cf5c3f
HTTP/2 push support (golang 1.8) ( #1215 )
...
* WIP
* HTTP2/Push for golang 1.8
* Push plugin completed for review
* Correct build tag
* Move push plugin position
* Add build tags to tests
* Gofmt that code
* Add header/method validations
* Load push plugin
* Fixes for wrapping writers
* Push after delivering file
* Fixes, review changes
* Remove build tags, support new syntax
* Fix spelling
* gofmt -s -w .
* Gogland time
* Add interface guards
* gofmt
* After review fixes
2017-02-17 09:25:22 -07:00
Matt Holt
d8d339740b
New 'timeouts' directive to configure timeouts; default timeouts enabled ( #1368 )
2017-01-24 08:15:25 -07:00
Ngo The Trung
0cdaaba4b8
Add maxrequestbody directive ( #1163 )
2016-11-04 08:25:49 +08:00
Volodymyr Galkin
20ee457cae
Add 'status' middleware instead of 'status' directive for 'rewrite' middleware
2016-08-29 17:17:23 +03:00
Luna Duclos
1dfe1e5ada
Add plugin capabilities for tls storage.
...
To use a plugged in storage, specify "storage storage_name" in the tls block of the Caddyfile, by default, file storage will be used
2016-08-23 23:00:20 +02:00
Matthew Holt
e625c7c051
Every package has a test
2016-06-21 00:11:55 -06:00