1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2026-05-13 11:01:44 +00:00

Use config.json to render multiple Jinja2 templates

This commit is contained in:
FreddleSpl0it
2025-05-22 14:07:39 +02:00
parent 13b4f86d29
commit dba9675a9b
18 changed files with 329 additions and 88 deletions

View File

@@ -0,0 +1,22 @@
[
{
"template": "nginx.conf.j2",
"output": "/etc/nginx/nginx.conf"
},
{
"template": "sites-default.conf.j2",
"output": "/etc/nginx/includes/sites-default.conf"
},
{
"template": "server_name.active.j2",
"output": "/etc/nginx/conf.d/server_name.active"
},
{
"template": "listen_plain.active.j2",
"output": "/etc/nginx/conf.d/listen_plain.active"
},
{
"template": "listen_ssl.active.j2",
"output": "/etc/nginx/conf.d/listen_ssl.active"
}
]