# begin vhost for <%= @fqdn %>
>
ServerName <%= @fqdn %>
DocumentRoot <%= scope.lookupvar('apache::default_folder') %>
# begin site config
>
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
# end site config
# end vhost for <%= @fqdn %>
# A default VirtualHost for any site listening only in localhost.
#
# This is meant to protect these sites (such as Tor Onion Services) from
# exposing other data from the server, such as the default public VirtualHost
# above.
#
# This is not a strong measure, since the server can be fingerprinted by other
# means.
#
# Best thing to do is not mix public and non-public sites in the same server.
#
# For additional details, check
# https://gitlab.torproject.org/tpo/onion-services/onion-support/-/issues/30