Comparison

prosody.cfg.lua.dist @ 911:39133bca5938

prosody.cfg.lua.dist: Remove some factual inaccuracies
author Matthew Wild <mwild1@gmail.com>
date Sun, 22 Mar 2009 15:08:15 +0000
parent 525:32122251d2fe
child 912:62dd71870ee3
comparison
equal deleted inserted replaced
910:27d909db4714 911:39133bca5938
1 -- Prosody Example Configuration File 1 -- Prosody Example Configuration File
2 -- 2 --
3 -- If it wasn't already obvious, -- starts a comment, and all 3 -- If it wasn't already obvious, -- starts a comment, and all
4 -- text after it is ignored by Prosody. 4 -- text after it on a line is ignored by Prosody.
5 -- 5 --
6 -- The config is split into sections, a global section, and one 6 -- The config is split into sections, a global section, and one
7 -- for each defined host that we serve. You can add as many host 7 -- for each defined host that we serve. You can add as many host
8 -- sections as you like. 8 -- sections as you like.
9 -- 9 --
15 -- A table is a list of values, except each value has a name. An 15 -- A table is a list of values, except each value has a name. An
16 -- example would be: 16 -- example would be:
17 -- 17 --
18 -- logging = { type = "html", directory = "/var/logs", rotate = "daily" } 18 -- logging = { type = "html", directory = "/var/logs", rotate = "daily" }
19 -- 19 --
20 -- Whitespace (that is tabs, spaces, line breaks) is insignificant, so can 20 -- Whitespace (that is tabs, spaces, line breaks) is mostly insignificant, so
21 -- can
21 -- be placed anywhere 22 -- be placed anywhere
22 -- that you deem fitting. Youcouldalsoremoveitentirely,butforobviousrea 23 -- that you deem fitting.
23 --sonsIdon'trecommendit.
24 -- 24 --
25 -- Tip: You can check that the syntax of this file is correct when you have finished 25 -- Tip: You can check that the syntax of this file is correct when you have finished
26 -- by running: luac -p prosody.cfg.lua 26 -- by running: luac -p prosody.cfg.lua
27 -- If there are any errors, it will let you know what and where they are, otherwise it 27 -- If there are any errors, it will let you know what and where they are, otherwise it
28 -- will keep quiet. 28 -- will keep quiet.