File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ FEATURES:
10
10
11
11
Add ` backup ` variable to template and upload parameters. Set to ` false ` if you don't want to keep backups of your previous NGINX config files.
12
12
13
+ BUG FIXES:
14
+
15
+ Fix a bug when using a single ` custom_directives ` entry and the http template
16
+
13
17
## 0.4.2 (October 28, 2021)
14
18
15
19
BUG FIXES:
Original file line number Diff line number Diff line change 92
92
{% for directive in item ['config' ]['custom_directives' ] if item ['config' ]['custom_directives' ] is not string %}
93
93
{{ directive }}
94
94
{% else %}
95
- {{ item['config'] ['custom_directive '] }}
95
+ {{ item['config'] ['custom_directives '] }}
96
96
{% endfor %}
97
97
{% endif %}
98
98
{% if item ['config' ]['servers' ] is defined %}
@@ -228,7 +228,7 @@ server {
228
228
{{ directive }}
229
229
{% endfilter %}
230
230
{% else %}
231
- {{ server['custom_directive '] }}
231
+ {{ server['custom_directives '] }}
232
232
{% endfor %}
233
233
{% endif %}
234
234
{% if server ['locations' ] is defined %}
@@ -358,7 +358,7 @@ server {
358
358
{{ directive }}
359
359
{% endfilter %}
360
360
{% else %}
361
- {{ location['custom_directive '] }}
361
+ {{ location['custom_directives '] }}
362
362
{% endfor %}
363
363
{% endif %}
364
364
You can’t perform that action at this time.
0 commit comments