summaryrefslogtreecommitdiff
path: root/templates/torrc.directory.erb
blob: 1af9f40f8990a865c9d3c25f1d7db2238bab1694 (plain)
1
2
3
4
5
6
7
8
9
10
11
# directory listing
<%  if port != '0' -%>
DirPort <%= @port %>
<%  end -%>
<%  listen_addresses.each do |listen_address| -%>
DirListenAddress <%= listen_address %>
<%  end -%>
<%  if @port_front_page != '' -%>
DirPortFrontPage <%= port_front_page %>
<%- end -%>