aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGES1
-rw-r--r--plugins/mod_http.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 13aab690..3e7907f0 100644
--- a/CHANGES
+++ b/CHANGES
@@ -32,6 +32,7 @@ TRUNK
- Direct TLS (including https) certificates updated on reload
- Pluggable authorization providers (mod_authz_)
- Easy use of Mozilla TLS recommendations presets
+- Unencrypted HTTP port (5280) restricted to loopback by default
### HTTP
diff --git a/plugins/mod_http.lua b/plugins/mod_http.lua
index 100581b5..c7795089 100644
--- a/plugins/mod_http.lua
+++ b/plugins/mod_http.lua
@@ -304,6 +304,7 @@ end);
module:provides("net", {
name = "http";
listener = server.listener;
+ private = true;
default_port = 5280;
multiplex = {
pattern = "^[A-Z]";