This service role configures a certain number of onion services vhosts.
This role will configure some vhosts, defined in:
vhostsvariable, when called by another role
tor.vhostsvariable, when not called by another role (
A vhost consists of the following arguments:
name: an identifier for the onion vhost, usually a qualified domain name
ports: a mapping of ports to proxy to a certain address/port
No settings yet.
In order to interface with other roles/services, this role follows a certain number of conventions:
- onion directories are placed in
IDENTIFIERis the vhost's name
/var/lib/tor/IDENTIFIER/hostnamecontains the generated onion domain
Maybe we should support onion balancing?