We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b58c9c6 commit 014eab0Copy full SHA for 014eab0
templates/vhost-loadbalancing.conf.erb
@@ -10,17 +10,16 @@ upstream workers {
10
<% end -%>
11
12
}
13
-<% unless @caches.nil? or @caches.empty? -%>
14
+<% unless @caches.nil? or @caches.empty? -%>
15
# Hack to add in additonal upstream for caches
16
upstream cache_workers {
17
<% @caches.each do |cache| -%>
18
server <%= worker %>;
19
20
-<% end -%>
21
22
-
23
+
24
server {
25
26
<%= scope.function_template(['nginx/vhost/_listen.conf.erb']) %>
0 commit comments