From 58e757ac3752c9414d7222fb526dd8477cc2f41d Mon Sep 17 00:00:00 2001 From: Matt Holt Date: Fri, 12 Jul 2019 10:17:01 -0600 Subject: [PATCH] Updated v2: Config from Scratch (markdown) --- v2:-Config-from-Scratch.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/v2:-Config-from-Scratch.md b/v2:-Config-from-Scratch.md index 8c66385..123a69c 100644 --- a/v2:-Config-from-Scratch.md +++ b/v2:-Config-from-Scratch.md @@ -31,10 +31,10 @@ This is a static file server out of the the `/var/www` directory: "listen": [":80"], "routes": [ { - "respond": { - "responder": "file_server", + "handle": [{ + "handler": "file_server", "root": "/var/www" - } + }] } ] } @@ -56,10 +56,10 @@ And this is the same, but with automatic HTTPS (notice that we now serve on the "routes": [ { "match": [{"host": ["example.com"]}], - "respond": { - "responder": "file_server", + "handle": [{ + "handler": "file_server", "root": "/var/www" - } + }] } ] }