From 8015230942ba1d77c9c5ec68bb0263227e9d98b3 Mon Sep 17 00:00:00 2001 From: Stillhart Date: Wed, 30 Oct 2024 10:11:01 +0100 Subject: [PATCH] Update README with multiple networks example --- README.markdown | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.markdown b/README.markdown index 49699183..81396f01 100644 --- a/README.markdown +++ b/README.markdown @@ -84,6 +84,13 @@ Rails.application.configure do end ``` +If you want to allow multiple networks: +```ruby +Rails.application.configure do + config.web_console.permissions = ["10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"] +end +``` + Take a note that IPv4 and IPv6 localhosts are always allowed. This wasn't the case in 2.0.