summaryrefslogtreecommitdiff
path: root/puppet/modules/site_static/templates
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2017-08-15 17:35:55 -0700
committerelijah <elijah@riseup.net>2017-08-23 13:29:36 -0700
commit804e022221bfb0b5200282e556d75e601271dac5 (patch)
tree61636de343e7d31bbdbc09bc2a87f4789a46248a /puppet/modules/site_static/templates
parent27ae20913664d97918effd7308f30e0a61aa4b24 (diff)
Bug: fix hidden service for static
hidden service should be activated iff tor is among the active services and tor.hidden_service.active == true
Diffstat (limited to 'puppet/modules/site_static/templates')
-rw-r--r--puppet/modules/site_static/templates/apache.conf.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/modules/site_static/templates/apache.conf.erb b/puppet/modules/site_static/templates/apache.conf.erb
index eb21e4c9..75d834e7 100644
--- a/puppet/modules/site_static/templates/apache.conf.erb
+++ b/puppet/modules/site_static/templates/apache.conf.erb
@@ -74,7 +74,7 @@
Require all granted
</Directory>
-<%- if @tor && (@always_use_hidden_service || @use_hidden_service) -%>
+<%- if @tor_active && (@always_use_hidden_service || @use_hidden_service) -%>
##
## Tor
##