diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2020-02-06 18:46:52 -0700 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2020-02-06 18:46:52 -0700 |
commit | 8b28c36d480070c8cf954cb27bec3b44bd7d12ca (patch) | |
tree | 4219adc87173ea3af7603e36e8ef44bb8a791f40 /modules/caddyhttp/starlarkmw/example | |
parent | 4a07a5d41e0f54d1a1ec998b9d956ccf2a880d90 (diff) |
Remove Starlark, for now
This is temporary as we prepare for a stable v2 release. We don't want
to make promises we don't know we can keep, and the Starlark integration
deserves much more focused attention which resources and funding do not
currently permit. When the project is financially stable, I will be able
to revisit this properly and add flexible, robust Starlark scripting
support to Caddy 2.
Diffstat (limited to 'modules/caddyhttp/starlarkmw/example')
-rw-r--r-- | modules/caddyhttp/starlarkmw/example/caddy.json | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/modules/caddyhttp/starlarkmw/example/caddy.json b/modules/caddyhttp/starlarkmw/example/caddy.json deleted file mode 100644 index 9479d17..0000000 --- a/modules/caddyhttp/starlarkmw/example/caddy.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "apps": { - "http": { - "servers": { - "MY_SERVER": { - "listen": [":3001"], - "routes": [ - { - "handle": { - "handler": "starlark", - "script": "def setup(r):\n\t# create some middlewares specific to this request\n\ttemplates = loadModule('http.handlers.templates', {'file_root': './includes'})\n\tmidChain = execute([templates])\n\ndef serveHTTP (rw, r):\n\trw.Write('Hello world, from Starlark!')\n" - } - } - ] - } - } - } - } -}
\ No newline at end of file |