summaryrefslogtreecommitdiff
path: root/manifests/site.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/site.pp')
-rw-r--r--manifests/site.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/site.pp b/manifests/site.pp
index 4179c72..cda1662 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -52,7 +52,7 @@ define apache::site(
$hidden_enabled = hiera('apache::site::hidden', false)
if $hidden_service == true and $hidden_enabled == true {
tor::daemon::hidden_service { $title:
- ports => [ "80 127.0.0.1:80" ],
+ ports => [ "80 127.0.0.1:${apache::http_port}" ],
data_dir => "${tor::daemon::data_dir}/hidden",
require => File["${tor::daemon::data_dir}/hidden"],
ensure => $ensure,