File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ nginx_main_template:
49
49
types : " text/html"
50
50
# custom_options: []
51
51
# http_custom_options: []
52
+ # http_custom_includes: []
52
53
# events_custom_options: []
53
54
stream_enable : false
54
55
# stream_custom_options: []
Original file line number Diff line number Diff line change 44
44
- master_process on;
45
45
http_custom_options :
46
46
- aio off;
47
+ http_custom_includes :
48
+ - " /etc/nginx/sites-enabled/*.conf"
47
49
events_custom_options :
48
50
- accept_mutex off;
49
51
stream_enable : true
Original file line number Diff line number Diff line change @@ -119,6 +119,11 @@ http {
119
119
{% endfor %}
120
120
{% endif %}
121
121
include /etc/nginx/conf.d/*.conf;
122
+ {% if nginx_main_template .http_custom_includes is defined and nginx_main_template .http_custom_includes | length %}
123
+ {% for inline_include in nginx_main_template .http_custom_includes %}
124
+ include {{ inline_include }};
125
+ {% endfor %}
126
+ {% endif %}
122
127
}
123
128
{% endif %}
124
129
You can’t perform that action at this time.
0 commit comments