mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
add support for custom configuration
This commit is contained in:
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 %}
|
||||
|
||||
Reference in New Issue
Block a user