add support for custom configuration

This commit is contained in:
Fabio Castagnino
2022-03-07 18:08:00 +01:00
committed by Franco Fichtner
parent 579adb0ea9
commit 8c48df65b2
@@ -83,6 +83,8 @@
ssl_prefer_server_ciphers on;
{% endif %}
include {{ server['@uuid'] }}_pre/*.conf;
{% if server.route_field == 'upstream' %}
{% if server.upstream is defined %}
{% set upstream = helpers.getUUID(server.upstream) %}
@@ -105,6 +107,8 @@
{% endfor %}
{% endif%}
include {{ server['@uuid'] }}_post/*.conf;
}
{% endfor %}
{% endif %}