summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2019-10-10 11:02:16 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2019-10-10 11:02:16 -0600
commit26cc8837084f9cea6057e9908f0b5bde0eb15d3e (patch)
tree7a35ea901e4ce8d3fbe028e8fc81bd1f69c6be68 /cmd
parent93943a6ac28fa7f100e355f4a9b4ab05dc2d1cb7 (diff)
http: Add Starlark handler
This migrates a feature that was previously reserved for enterprise users, according to #2786. The Starlark integration needs to be updated since this was made before some significant changes in the v2 code base. When functional, it makes it possible to have very dynamic HTTP handlers. This will be a long-term ongoing project. Credit to Danny Navarro
Diffstat (limited to 'cmd')
-rw-r--r--cmd/caddy/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/caddy/main.go b/cmd/caddy/main.go
index 87226cd..3906eae 100644
--- a/cmd/caddy/main.go
+++ b/cmd/caddy/main.go
@@ -34,6 +34,7 @@ import (
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/reverseproxy"
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/reverseproxy/fastcgi"
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/rewrite"
+ _ "github.com/caddyserver/caddy/v2/modules/caddyhttp/starlarkmw"
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/templates"
_ "github.com/caddyserver/caddy/v2/modules/caddytls"
_ "github.com/caddyserver/caddy/v2/modules/caddytls/standardstek"