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 d017be2 commit 8e2bec5Copy full SHA for 8e2bec5
templates/vhost-loadbalancing.conf.erb
@@ -12,18 +12,17 @@ upstream workers {
12
}
13
14
<% unless @caches.nil? or @caches.empty? -%>
15
- # Hack to add in additonal upstream for caches
16
- upstream cache_workers {
+# Hack to add in additonal upstream for caches
+upstream vcache_workers {
17
<% @caches.each do |cache| -%>
18
server <%= cache %>;
19
<% end -%>
20
21
22
23
server {
24
-
25
<%= scope.function_template(['nginx/vhost/_listen.conf.erb']) %>
26
+ # Define empty root dir for LB
27
root /usr/share/empty;
28
<% unless @locations.nil? or @locations.empty? -%>
29
0 commit comments