mod_secure_interfaces: Add ::1 to the default secure_interfaces. default tip

Sun, 16 Jul 2017 19:29:05 +0100

author
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date
Sun, 16 Jul 2017 19:29:05 +0100
changeset 2730
cd828b1cb5b9
parent 2729
7983335e88e9

mod_secure_interfaces: Add ::1 to the default secure_interfaces.

mod_secure_interfaces/mod_secure_interfaces.lua file | annotate | diff | comparison | revisions
--- 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;

mercurial