Software /
code /
prosody-modules
Comparison
mod_http_index/README.markdown @ 3751:cb9517827d76
mod_http_index/README: Split out advanced settings into its own section
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 17 Nov 2019 16:32:59 +0100 |
parent | 2487:99a025dc4f6b |
child | 3752:8992f84ca870 |
comparison
equal
deleted
inserted
replaced
3750:9002c8a2165f | 3751:cb9517827d76 |
---|---|
16 ``` {.lua} | 16 ``` {.lua} |
17 modules_enabled = { | 17 modules_enabled = { |
18 -- other modules | 18 -- other modules |
19 "http_index"; | 19 "http_index"; |
20 } | 20 } |
21 ``` | |
21 | 22 |
22 -- optional, defaults to a file next to the module | 23 # Advanced |
24 | |
25 ## Template | |
26 | |
27 The template can be customized by copying the included `http_index.html` | |
28 and pointing to it with the `http_index_template` setting: | |
29 | |
30 ``` lua | |
23 http_index_template = "/path/to/template.html" | 31 http_index_template = "/path/to/template.html" |
24 ``` | 32 ``` |