Commit 1e6f1347 authored by Miek Gieben's avatar Miek Gieben

Small doc style updates in the host middleware

parent df137d97
...@@ -10,7 +10,7 @@ available hosts files that block access to advertising servers. ...@@ -10,7 +10,7 @@ available hosts files that block access to advertising servers.
## Syntax ## Syntax
~~~ ~~~
hosts FILE [ZONES...] { hosts [FILE [ZONES...]] {
fallthrough fallthrough
} }
~~~ ~~~
...@@ -23,20 +23,20 @@ hosts FILE [ZONES...] { ...@@ -23,20 +23,20 @@ hosts FILE [ZONES...] {
## Examples ## Examples
Load /etc/hosts file Load `/etc/hosts` file.
~~~ ~~~
hosts hosts
~~~ ~~~
Load example.hosts file Load `example.hosts` file in the current directory.
~~~ ~~~
hosts example.hosts hosts example.hosts
~~~ ~~~
Load example.hosts file and only serve example.org and example.net from it and fall through to the Load example.hosts file and only serve example.org and example.net from it and fall through to the
next middleware if query doesn't match next middleware if query doesn't match.
~~~ ~~~
hosts example.hosts example.org example.net { hosts example.hosts example.org example.net {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment