Echo Writes Code

web-pylon.example.toml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# ################################################### #
#                                                     #
# Settings that affect how your content is discovered #
#                                                     #
# ################################################### #

[content]

# The name of the metadata file in the content root. This file is basically a static database of
# all your site content, aside from the pages themselves.
#
# Default: "metadata.json"
metadata_file = "metadata.json"

# The absolute path to the content root. This location must be readable (but should not be
# writable) by web-pylon.
#
# Default: unset (this parameter is mandatory)
root = "/path/to/your/content/directory"



# ############################################### #
#                                                 #
# Settings that affect how web-pylon sends emails #
#                                                 #
# ############################################### #

[email]

# The "from" address in emails sent by web-pylon. You should change the domain to your actual
# domain if `email.live` is true.
#
# Default: "web-pylon@example.com"
from = "web-pylon@example.com"

# Whether emails are actually sent (true) or just logged (false). Only set this to true if you
# have a mail transfer agent (e.g. Postfix) prepared.
#
# Default: false
live = false

# The SMTP host. Change this to your actual domain (not localhost) if you want to deliver mail to a
# local mail server with TLS enabled, or to your relay server's domain if you're using a service
# like smtp2go.
#
# Default: "localhost"
smtp_host = "localhost"

# The SMTP port. Change this if you need to connect to your mail server on a port other than 25.
#
# Default: 25
smtp_port = 25



# ########################################################## #
#                                                            #
# Settings that affect how web-pylon connects to the network #
#                                                            #
# ########################################################## #

[network]

# The network address or hostname that web-pylon binds to. If you're behind a reverse proxy like
# nginx, (recommended), use "localhost" or "127.0.0.1". If you want to run web-pylon directly on
# an open interface, use that interface's network address.
#
# Default: "localhost"
host = "localhost"

# The network port that web-pylon binds to. You can change this if you need to accommodate another
# application running on port 8080, or if you're particularly paranoid about security. Just remember
# that if you're behind a reverse proxy, you need to configure it to proxy to this port.
#
# Default: 8080
port = 8080