diff options
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 -%> + |