comparison mod_register_json.wiki @ 190:479655c59e6d

Updated wiki to reflect changes.
author maranda3985@gmail.com
date Fri, 22 Apr 2011 04:21:52 +0000
parents 388b6728f506
children c33d7df822ff
comparison
equal deleted inserted replaced
189:f95cbe1ac9d8 190:479655c59e6d
30 Hint: pairing with mod_register_url is helpful, to allow server registrations only via your webform. 30 Hint: pairing with mod_register_url is helpful, to allow server registrations only via your webform.
31 31
32 Optional configuration directives: 32 Optional configuration directives:
33 {{{ 33 {{{
34 reg_servlet_realm = "Your Realm Name of choice" -- Modifies the name of the authentication realm. 34 reg_servlet_realm = "Your Realm Name of choice" -- Modifies the name of the authentication realm.
35 reg_servlet_port = { *your port number here* } -- Uses a custom port number for the listener. 35 reg_servlet_ports = { *configuration directives in bosh ports format* } -- Allows to configure custom ports see: http://prosody.im/doc/setting_up_bosh
36 reg_servlet_ttime = seconds -- Specifies the time (in seconds) between each request coming from the same remote address. 36 reg_servlet_ttime = seconds -- Specifies the time (in seconds) between each request coming from the same remote address.
37 reg_servlet_bl = { "1.2.3.4", "4.3.2.1" } -- The ip addresses in this list will be blacklisted and won't be able to register. 37 reg_servlet_bl = { "1.2.3.4", "4.3.2.1" } -- The ip addresses in this list will be blacklisted and won't be able to register.
38 reg_servlet_wl = { "1.2.3.4", "4.3.2.1" } -- The ip addresses in this list will be ignored by the throttling. 38 reg_servlet_wl = { "1.2.3.4", "4.3.2.1" } -- The ip addresses in this list will be ignored by the throttling.
39 }}} 39 }}}
40 40
41 Optional TLS directives: 41 Notes on ports:
42 {{{ 42 Modified to use, prosody's standard ports configuration format, if you don't specify any port via *port =* param, 9280 (non ssl) and 9443 (ssl) will be used.
43 reg_servlet_sslcert = "path/to/your/cert" -- Your tls/ssl cert file.
44 reg_servlet_sslkey = "path/to/your/key" -- Your tls/ssl key file.
45 }}}
46 *To activate SSL/TLS on a listener both options need to be correctly set.*
47 43
48 = Compatibility = 44 = Compatibility =
49 45
50 Trunk - works. 46 Trunk - works.
51 47