changeset 2730:cd828b1cb5b9

mod_secure_interfaces: Add ::1 to the default secure_interfaces.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 16 Jul 2017 19:29:05 +0100
parents 7983335e88e9
children d48faff92490
files mod_secure_interfaces/mod_secure_interfaces.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_secure_interfaces/mod_secure_interfaces.lua	Sun Jul 16 19:28:52 2017 +0100
+++ b/mod_secure_interfaces/mod_secure_interfaces.lua	Sun Jul 16 19:29:05 2017 +0100
@@ -1,4 +1,4 @@
-local secure_interfaces = module:get_option_set("secure_interfaces", { "127.0.0.1" });
+local secure_interfaces = module:get_option_set("secure_interfaces", { "127.0.0.1", "::1" });
 
 module:hook("stream-features", function (event)
 	local session = event.origin;