From 005ff655b03b17613b86af0a9935cc8ed9e42826 Mon Sep 17 00:00:00 2001 From: Brandon Joyce Date: Wed, 22 May 2024 09:38:58 -0400 Subject: [PATCH] README update for listen_ip config --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 2a969e8..ea8352b 100644 --- a/README.md +++ b/README.md @@ -150,6 +150,15 @@ log what it's doing: ```elixir config :bypass, enable_debug_log: true ``` +Set `:listen_ip` to override the default behaviour of ranch_tcp and limit the +range of interfaces it will listen on to just the configured interface. Loopback +is the default interface (127.0.0.1). + +Example to listen on all interfaces + +```elixir +config :bypass, listen_ip: "0.0.0.0" +```