Mercurial > prosody-wiki
diff mod_register_json.wiki @ 276:08744edfffba
updated wiki.
author | Marco Cirillo <maranda@lightwitch.org> |
---|---|
date | Sat, 26 May 2012 02:43:58 +0000 |
parents | 9278544faffb |
children | 41d03be9ac76 |
line wrap: on
line diff
--- a/mod_register_json.wiki Sat May 26 02:41:06 2012 +0000 +++ b/mod_register_json.wiki Sat May 26 02:43:58 2012 +0000 @@ -1,5 +1,5 @@ #summary mini JSON registration servlet. -#labels Stage-Alpha +#labels Stage-Beta = Introduction = @@ -32,19 +32,11 @@ Optional configuration directives: <code language="lua"> reg_servlet_realm = "Your Realm Name of choice" -- Modifies the name of the authentication realm. -reg_servlet_ports = { { port = 8080, path = "your_register_path" } } -- Allows to configure custom ports see: http://prosody.im/doc/setting_up_bosh reg_servlet_ttime = seconds -- Specifies the time (in seconds) between each request coming from the same remote address. reg_servlet_bl = { "1.2.3.4", "4.3.2.1" } -- The ip addresses in this list will be blacklisted and will not be able to submit registrations. reg_servlet_wl = { "1.2.3.4", "4.3.2.1" } -- The ip addresses in this list will be ignored by the throttling. </code> -Notes on ports: -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. - -= Compatibility = += Info = -Trunk - Works. - -0.8 - Should work. - -0.7 - Untested. \ No newline at end of file + * This is only compatible with 0.9, please look at the 0.8-diverge branch for older versions