summaryrefslogtreecommitdiff
path: root/templates/torrc.directory.erb
blob: 14712efdb7305d81d4538f6f69600d5f769034ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# directory listing

<%- if port != '0' then -%>
DirPort <%= port %>
<%- end -%>
<%- for listen_address in listen_addresses -%>
DirListenAddress <%= listen_address %>
<%- end -%>
<%- if port_front_page != '' then -%>
DirPortFrontPage <%= port_front_page %>
<%- end -%>