Mercurial > prosody-wiki
comparison mod_register_json.wiki @ 188:388b6728f506
Added missing options to the wiki.
author | maranda3985@gmail.com |
---|---|
date | Wed, 13 Apr 2011 03:43:49 +0000 |
parents | 4a6c1e35788c |
children | 479655c59e6d |
comparison
equal
deleted
inserted
replaced
187:4a6c1e35788c | 188:388b6728f506 |
---|---|
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_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. |
36 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. |
37 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. |
38 }}} | 39 }}} |
39 | 40 |
41 Optional TLS directives: | |
42 {{{ | |
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 | |
40 = Compatibility = | 48 = Compatibility = |
41 | 49 |
42 Trunk - works. | 50 Trunk - works. |
51 | |
43 0.8 - untested. | 52 0.8 - untested. |
53 | |
44 0.7 - untested. | 54 0.7 - untested. |