comparison mod_cleanup_http.wiki @ 262:dee8461071c2

added wiki.
author Marco Cirillo <maranda@lightwitch.org>
date Sun, 12 Feb 2012 18:35:57 +0000
parents
children d9709ca32230
comparison
equal deleted inserted replaced
261:7e8838371b31 262:dee8461071c2
1 #summary http "spring cleans" module
2 #labels Stage-Beta
3
4 = Details =
5
6 Auto cleans handlers and open unused http ports (only on server_select) for BOSH/HTTP modules.
7
8 = Usage =
9
10 Copy both files into prosody's module directory and place 'em into your enabled modules into the configuration file's global section.
11
12 Required parameters, example:
13 {{{
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 }}}
16
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
19 = Compatibility =
20
21 * 0.9/trunk works
22 * 0.8 works