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" - } + }] } ] }