Skip to content

Commit 97abc68

Browse files
committed
refactor: change config line generation to simpler and more readable solution
1 parent 985bb0f commit 97abc68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/mod/cache.conf.epp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ CacheLock <%= $cache_lock %>
2626
CacheIgnoreCacheControl <%= $cache_ignore_cache_control %>
2727
<%- } -%>
2828
<%- if $cache_ignore_headers { -%>
29-
CacheIgnoreHeaders <% $cache_ignore_headers.each |$header| { %><%= $header %> <% } %>
29+
CacheIgnoreHeaders <% $cache_ignore_headers.join(' ') %>
3030
<%- } -%>

0 commit comments

Comments
 (0)