Closes: #180
This commit is contained in:
parent
60796abcd5
commit
e1643006cb
@ -48,6 +48,7 @@ nginx_main_template:
|
||||
types: "text/html"
|
||||
# custom_options: []
|
||||
# http_custom_options: []
|
||||
# http_custom_includes: []
|
||||
# events_custom_options: []
|
||||
stream_enable: false
|
||||
# stream_custom_options: []
|
||||
|
@ -119,6 +119,11 @@ http {
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
{% if nginx_main_template.http_custom_includes is defined and nginx_main_template.http_custom_includes | length %}
|
||||
{% for inline_include in nginx_main_template.http_custom_includes %}
|
||||
include {{ inline_option }};
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
}
|
||||
{% endif %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user