aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_http.lua
diff options
context:
space:
mode:
authorMarco Cirillo <maranda@lightwitch.org>2013-04-04 23:41:36 +0000
committerMarco Cirillo <maranda@lightwitch.org>2013-04-04 23:41:36 +0000
commit622306813b8b60b3f574d122f14a9f1b8051797d (patch)
tree4c2281f7b55dfc54f5100ac1446fd48da3dfd9ab /plugins/mod_http.lua
parent7cd207a8f6309b151c99970c46888a7bb3360f76 (diff)
downloadprosody-622306813b8b60b3f574d122f14a9f1b8051797d.tar.gz
prosody-622306813b8b60b3f574d122f14a9f1b8051797d.zip
mod_http: disable ssl peer verification by default.
Diffstat (limited to 'plugins/mod_http.lua')
-rw-r--r--plugins/mod_http.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_http.lua b/plugins/mod_http.lua
index 2fa87421..0689634e 100644
--- a/plugins/mod_http.lua
+++ b/plugins/mod_http.lua
@@ -139,6 +139,7 @@ module:provides("net", {
listener = server.listener;
default_port = 5281;
encryption = "ssl";
+ ssl_config = { verify = "none" };
multiplex = {
pattern = "^[A-Z]";
};