diff options
author | disabler <dissy@ya.ru> | 2013-09-08 03:09:46 +0400 |
---|---|---|
committer | disabler <dissy@ya.ru> | 2013-09-08 03:09:46 +0400 |
commit | a8ffaa3e77427107f79ce060f583fed4d038eacc (patch) | |
tree | cdb9e55d6151c6d8ebcbfad9f12d2a0d07c1828e /Config_example.txt | |
parent | a2649c2ab1b91edfee360ed8e7da2fb561125e4d (diff) |
add: settings for prosody in example config
add: whitelist example in example config
fix: whitelist feature
fix: error message in whitelist
fix: url field type changed to text-single (xep-0004)
fix: write pid-file at start and remove it at end works
chg: default avatar and gateway logo
Diffstat (limited to 'Config_example.txt')
-rw-r--r-- | Config_example.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Config_example.txt b/Config_example.txt index 0a8ac94..894a127 100644 --- a/Config_example.txt +++ b/Config_example.txt @@ -1,13 +1,16 @@ # coding: utf ## Connection host. +## For Prosody shald be "vk.example.com" Host = "localhost" ## Connection server (usually equals host) +## For Prosody shald be "example.com" Server = "localhost" ## Connection port (as you set in your jabber-server config) -Port = 5556 +## Default value for Prosody is 5347 +Port = 5556 ## Transport ID (Controls all) TransportID = "vk.example.com" @@ -27,7 +30,8 @@ UseLastMessageID = 1 ## Language (ru/en) DefLang = "ru" -## White list (put here servers which you want allow to access transport). Save it as [] if you won't block any servers. +## White list. Put here servers which you want allow to access transport. F.e.: ['yourserver1.tld','yourserver2.tld'] +## Save it as [] if you won't block any servers. WhiteList = [] @@ -43,7 +47,7 @@ MAX_ROSTER_UPDATE_TIMEOUT = 60 ROSTER_UPDATE_TIMEOUT = 6 ## Image that will be used if transport can't recieve image from VK. -URL_VCARD_NO_IMAGE = "http://simpleapps.ru/sa_logo2.png" +URL_VCARD_NO_IMAGE = "http://isida-bot.com/images/vk4xmpp.png" #! Uncomment this lines if you need write all into file (not recommented) @@ -68,4 +72,4 @@ URL_VCARD_NO_IMAGE = "http://simpleapps.ru/sa_logo2.png" # for line in lines: # self.write(line + "\r\n") # -#sys.stdout = sys.stderr = STDout("log.txt")
\ No newline at end of file +#sys.stdout = sys.stderr = STDout("log.txt") |