summaryrefslogtreecommitdiff
path: root/templates/torrc.hidden_service.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/torrc.hidden_service.erb')
-rw-r--r--templates/torrc.hidden_service.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/torrc.hidden_service.erb b/templates/torrc.hidden_service.erb
index 5b6afe1..bedbe18 100644
--- a/templates/torrc.hidden_service.erb
+++ b/templates/torrc.hidden_service.erb
@@ -10,3 +10,9 @@ HiddenServiceDir <%= @data_dir %>/<%= @name %>
HiddenServicePort <%= port %>
<% end -%>
+<% if @v3 != false %>
+# hidden service v3 static
+HiddenServiceDir <%= @data_dir %>/<%= @name -%>3
+HiddenServiceVersion 3
+HiddenServicePort <%= port %>
+<% end -%>