diff options
author | mh <mh@immerda.ch> | 2016-11-04 18:52:39 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2016-11-04 18:52:39 +0100 |
commit | d91d70dd378a4a91c740b03b0852432ef128b24a (patch) | |
tree | 35f503702086f85a96bfd5fca73d70c701323908 /templates/torrc.onion_service.erb | |
parent | bf16597ec2c0ad155527742fe07e655f555d7f62 (diff) |
store key & hostname
Diffstat (limited to 'templates/torrc.onion_service.erb')
-rw-r--r-- | templates/torrc.onion_service.erb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/torrc.onion_service.erb b/templates/torrc.onion_service.erb new file mode 100644 index 0000000..77168d8 --- /dev/null +++ b/templates/torrc.onion_service.erb @@ -0,0 +1,6 @@ +# hidden service <%= @name %> +HiddenServiceDir <%= @data_dir_path %> +<% Array(@ports).each do |port| -%> +HiddenServicePort <%= port =~ /^\d+$/ ? "#{port} 127.0.0.1:#{port}" : port %> +<% end -%> + |