# HG changeset patch # User maranda@lightwitch.org # Date 1320520721 0 # Node ID 9278544faffbb5300dca99c6785eb99ee9fd36b7 # Parent 818b1135d3e371c4aec7037b92796f4bd0d123fd correction to code block. diff -r 818b1135d3e3 -r 9278544faffb mod_register_json.wiki --- a/mod_register_json.wiki Sat Nov 05 19:13:00 2011 +0000 +++ b/mod_register_json.wiki Sat Nov 05 19:18:41 2011 +0000 @@ -30,13 +30,13 @@ Hint: pairing with mod_register_url is helpful, to allow server registrations only via your webform. Optional configuration directives: -{{{ + reg_servlet_realm = "Your Realm Name of choice" -- Modifies the name of the authentication realm. -reg_servlet_ports = { *configuration directives in bosh ports format* } -- Allows to configure custom ports see: http://prosody.im/doc/setting_up_bosh +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. -}}} + 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.