Updated v2: Config from Scratch (markdown)

Matt Holt 2019-07-12 10:17:01 -06:00
parent de96b8bacc
commit 58e757ac37

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