summaryrefslogtreecommitdiff
path: root/templates/onionbalance/config.yaml.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/onionbalance/config.yaml.erb')
-rw-r--r--templates/onionbalance/config.yaml.erb8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/onionbalance/config.yaml.erb b/templates/onionbalance/config.yaml.erb
index 3f45bd1..b1d4d80 100644
--- a/templates/onionbalance/config.yaml.erb
+++ b/templates/onionbalance/config.yaml.erb
@@ -1,10 +1,10 @@
# OnionBalance Config File
services:
<% @services.keys.sort.each do |key| -%>
-- instances:
+ - key: /etc/onionbalance/<%= key %>.key
+ instances:
<% (@services[key].keys - ['_key_content']).sort.each do |inst| -%>
- - address: <%= @services[key][inst] %>
- name: <%= inst %>
+ - address: <%= @services[key][inst] %>
+ name: <%= inst %>
<% end -%>
- key: <%= key %>.key
<% end -%>