Created
October 29, 2014 19:05
-
-
Save exec/3ec97f0f703a41f51c72 to your computer and use it in GitHub Desktop.
Some good prosody config ideas
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssl = { | |
key = "/etc/prosody/certs/domain-private.key"; | |
certificate = "/etc/prosody/certs/domain-cert.crt"; | |
options = { "no_sslv2", "no_sslv3", "no_ticket", "no_compression", "cipher_server_preference" }; | |
ciphers = "kECDH:HIGH:!MEDIUM:!LOW:!NULL:!DSS:!AES128-SHA:!AES128-SHA256:!CAMELLIA128-SHA:!aNULL@STRENGTH"; | |
dhparam = "/etc/prosody/dhparam.pem"; | |
}; | |
c2s_require_encryption = true | |
s2s_secure_auth = true | |
s2s_insecure_domains = { "exploit.im", "pidgin.su" } -- Too many people use these insecure services | |
pidfile = "/var/run/prosody/prosody.pid" | |
authentication = "internal_hashed" | |
storage = "sql" -- SQL is much faster, I recommend it :) | |
sql = { driver = "MySQL", database = "dbname", username = "user", password = "password1231337(notmyactualpassword)", host = "my.sql.xeru.me" } | |
log = { | |
error = "/var/log/prosody/prosody.err" | |
}; | |
conflict_resolve = "increment" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What benefit are you seeing by using conflict_resolve = "increment"? Thanks.