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:
22
data/conf/nginx/config.json
Normal file
22
data/conf/nginx/config.json
Normal 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"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user