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
commitd6f7def73cfade7d179a6eb6f3d53229d0ef741a (patch)
tree4c2281f7b55dfc54f5100ac1446fd48da3dfd9ab /plugins/mod_http.lua
parentc62c02db85c39c5b1ca04acca40580683d966b8b (diff)
downloadprosody-d6f7def73cfade7d179a6eb6f3d53229d0ef741a.tar.gz
prosody-d6f7def73cfade7d179a6eb6f3d53229d0ef741a.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]";
};