diff options
Diffstat (limited to 'middleware/bind/README.md')
-rw-r--r-- | middleware/bind/README.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/middleware/bind/README.md b/middleware/bind/README.md new file mode 100644 index 000000000..ad23b6153 --- /dev/null +++ b/middleware/bind/README.md @@ -0,0 +1,21 @@ +# bind + +bind overrides the host to which the server should bind. Normally, the listener binds to the +wildcard host. However, you may force the listener to bind to another IP instead. This +directive accepts only an address, not a port. + +## Syntax + +~~~ txt +bind address +~~~ + +address is the IP address to bind to. + +## Examples + +To make your socket accessible only to that machine, bind to IP 127.0.0.1 (localhost): + +~~~ txt +bind 127.0.0.1 +~~~ |