diff options
author | dev <navdgo@gmail.com> | 2019-04-03 11:47:27 -0400 |
---|---|---|
committer | dev <navdgo@gmail.com> | 2019-04-08 09:58:11 -0400 |
commit | 27ecc7f384bbfc98b28dc73881968897fb8c9a8a (patch) | |
tree | 1c579149528c26884c04e0daba3c9f320271b7a7 /cmd | |
parent | 402f423693d86d3e37daf64f369dbf54f69338b3 (diff) |
Protocol and Caddyscript matchers
* Added matcher to determine what protocol the request is being made by
- grpc, tls, http
* Added ability to run caddyscript in a matcher to evaluate the http request
* Added TLS field to caddyscript request time
* Added a library to manipulate and compare a new caddyscript time type
* Library for regex in starlark
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/caddy2/main.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/caddy2/main.go b/cmd/caddy2/main.go index 9ec32f9..288edcb 100644 --- a/cmd/caddy2/main.go +++ b/cmd/caddy2/main.go @@ -3,11 +3,12 @@ package main import ( "log" - "bitbucket.org/lightcodelabs/caddy2" - _ "net/http/pprof" + "bitbucket.org/lightcodelabs/caddy2" + // this is where modules get plugged in + _ "bitbucket.org/lightcodelabs/caddy2/modules/caddyhttp" _ "bitbucket.org/lightcodelabs/caddy2/modules/caddyhttp/caddylog" _ "bitbucket.org/lightcodelabs/caddy2/modules/caddyhttp/staticfiles" |