comparison mod_cleanup_http.wiki @ 268:d9709ca32230

corrected wiki.
author Marco Cirillo <maranda@lightwitch.org>
date Fri, 09 Mar 2012 19:32:07 +0000
parents dee8461071c2
children c929df198f10
comparison
equal deleted inserted replaced
267:36f475bd6425 268:d9709ca32230
9 9
10 Copy both files into prosody's module directory and place 'em into your enabled modules into the configuration file's global section. 10 Copy both files into prosody's module directory and place 'em into your enabled modules into the configuration file's global section.
11 11
12 Required parameters, example: 12 Required parameters, example:
13 {{{ 13 {{{
14 local bosh_mod_name_ports_conf_var_reference = { { interface = { "127.0.0.1" }, port = 5280 } }
14 cleanup_http_modules = { ["bosh_mod_name"] = bosh_mod_name_ports_conf_var_reference, ["bosh_mod_name_unreferenced"] = { { interface = { "127.0.0.1" }, port = 5280 } } } 15 cleanup_http_modules = { ["bosh_mod_name"] = bosh_mod_name_ports_conf_var_reference, ["bosh_mod_name_unreferenced"] = { { interface = { "127.0.0.1" }, port = 5280 } } }
15 }}} 16 }}}
16 17
17 You can either reference other variables present in the global configuration (see bosh_mod_name above, cleanup_http_modules needs to be placed after those in that case) or duplicate 'em (see bosh_mod_name_unreferenced). 18 You can either reference other local variables present in the configuration (see above, cleanup_http_modules needs to be placed after those in that case) or duplicate 'em (see bosh_mod_name_unreferenced).
18 19
19 = Compatibility = 20 = Compatibility =
20 21
21 * 0.9/trunk works 22 * 0.9/trunk works
22 * 0.8 works 23 * 0.8 works