mirror of
https://github.com/caddyserver/caddy.git
synced 2026-10-08 23:18:24 +00:00
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
This commit is contained in:
parent
402f423693
commit
27ecc7f384
9 changed files with 341 additions and 12 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue