-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathmako.conf
50 lines (43 loc) · 1.1 KB
/
mako.conf
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
-- Set activeExample to "example1" or "example2"
local activeExample = "example1"
-- Email is set up for gmail, but you can also explicitly configure the
-- 'log.smtp' settings below for other providers.
-- Details: https://realtimelogic.com/ba/doc/en/Mako.html#oplog
local email=""
local password=""
-- Password howto: https://realtimelogic.com/articles/How-to-Send-Emails-with-Xedge-IDE-A-StepbyStep-Guide#smtp
-- Load the WebAuth example
apps={
"WebAuthnModule",
{
name="", -- Root app; Base URL is: http://server/
path=activeExample
}
}
-- enable if password is set
if password and #password > 0 then
log = {
smtp = {
from = email,
to = email,
user = email,
password = password,
subject = "Webauthn",
server = "smtp.googlemail.com",
port = 465,
useauth = true,
consec = "tls"
}
}
end
-- Enable SharkTrustX if email address set
if email and #email > 0 then
acme={
acceptterms=true,
email=email,
domains={"webauthn"},
challenge={
type="dns-01",
}
}
end