Skip to content

Commit 014eab0

Browse files
author
Joe Rodriguez Jr
committed
Fixing config file.
1 parent b58c9c6 commit 014eab0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

templates/vhost-loadbalancing.conf.erb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,16 @@ upstream workers {
1010
<% end -%>
1111
<% end -%>
1212
}
13-
<% unless @caches.nil? or @caches.empty? -%>
1413

14+
<% unless @caches.nil? or @caches.empty? -%>
1515
# Hack to add in additonal upstream for caches
1616
upstream cache_workers {
1717
<% @caches.each do |cache| -%>
1818
server <%= worker %>;
1919
<% end -%>
20-
<% end -%>
2120
}
22-
2321
<% end -%>
22+
2423
server {
2524

2625
<%= scope.function_template(['nginx/vhost/_listen.conf.erb']) %>

0 commit comments

Comments
 (0)