Skip to content

Commit 8e2bec5

Browse files
author
Joe Rodriguez Jr
committed
More erg syntax and formatting changes.
1 parent d017be2 commit 8e2bec5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

templates/vhost-loadbalancing.conf.erb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,17 @@ upstream workers {
1212
}
1313

1414
<% unless @caches.nil? or @caches.empty? -%>
15-
# Hack to add in additonal upstream for caches
16-
upstream cache_workers {
15+
# Hack to add in additonal upstream for caches
16+
upstream vcache_workers {
1717
<% @caches.each do |cache| -%>
1818
server <%= cache %>;
1919
<% end -%>
2020
}
2121
<% end -%>
2222

2323
server {
24-
2524
<%= scope.function_template(['nginx/vhost/_listen.conf.erb']) %>
26-
25+
# Define empty root dir for LB
2726
root /usr/share/empty;
2827
<% unless @locations.nil? or @locations.empty? -%>
2928

0 commit comments

Comments
 (0)