|
|
@ -2,13 +2,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
import jinja2
|
|
|
|
import jinja2
|
|
|
|
import os
|
|
|
|
import os
|
|
|
|
|
|
|
|
|
|
|
|
convert = lambda src, dst, args: open(dst, "w").write(jinja2.Template(open(src).read()).render(**args))
|
|
|
|
convert = lambda src, dst, args: open(dst, "w").write(jinja2.Template(open(src).read()).render(**args))
|
|
|
|
|
|
|
|
|
|
|
|
args = os.environ.copy()
|
|
|
|
args = os.environ.copy()
|
|
|
|
|
|
|
|
|
|
|
|
args["TLS"] = {
|
|
|
|
args["TLS"] = {
|
|
|
|
"cert": ("/certs/cert.pem", "/certs/key.pem"),
|
|
|
|
"cert": ("/certs/cert.pem", "/certs/key.pem"),
|
|
|
|
|
|
|
|
"mail": ("/certs/cert.pem", "/certs/key.pem"),
|
|
|
|
"letsencrypt": ("/certs/letsencrypt/live/mailu/fullchain.pem",
|
|
|
|
"letsencrypt": ("/certs/letsencrypt/live/mailu/fullchain.pem",
|
|
|
|
"/certs/letsencrypt/live/mailu/privkey.pem"),
|
|
|
|
"/certs/letsencrypt/live/mailu/privkey.pem"),
|
|
|
|
"notls": None
|
|
|
|
"notls": None
|
|
|
|