X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=prosody.cfg.lua.dist;h=244d34158eabd6e09029607841658b8a539dea83;hb=a7f1c478136e20f6196c998564a78ffad7c362e6;hp=2e07b7f5d4ceb1b363514d620ac86de5c9442e43;hpb=37119f82a99f83fb163843238029990c3c71ae3e;p=prosody.git diff --git a/prosody.cfg.lua.dist b/prosody.cfg.lua.dist index 2e07b7f5..244d3415 100644 --- a/prosody.cfg.lua.dist +++ b/prosody.cfg.lua.dist @@ -1,8 +1,8 @@ -- Prosody Example Configuration File --- +-- -- Information on configuring Prosody can be found on our -- website at http://prosody.im/doc/configure --- +-- -- Tip: You can check that the syntax of this file is correct -- when you have finished by running: luac -p prosody.cfg.lua -- If there are any errors, it will let you know what and where @@ -71,13 +71,12 @@ modules_disabled = { -- "presence"; -- "message"; -- "iq"; - -- "defaultauth"; }; -- Disable account creation by default, for security -- For more information see http://prosody.im/doc/creating_accounts allow_registration = false; - + -- These are the SSL/TLS-related settings. If you don't want -- to use SSL/TLS, you may comment or remove this ssl = { @@ -107,7 +106,7 @@ VirtualHost "example.com" -- set in the global section (if any). -- Note that old-style SSL on port 5223 only supports one certificate, and will always -- use the global one. - ssl = { + ssl = { key = "certs/example.com.key"; certificate = "certs/example.com.crt"; }