From 247201bba87cd96b68df4311314a1b857450b547 Mon Sep 17 00:00:00 2001 From: "Adam D. Barratt" Date: Tue, 29 Oct 2019 12:21:57 +0000 Subject: [PATCH] howto/static-mirroring: add onion service Signed-off-by: Adam D. Barratt --- input/howto/static-mirroring.creole | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/input/howto/static-mirroring.creole b/input/howto/static-mirroring.creole index b99cc59..b2c9dc0 100644 --- a/input/howto/static-mirroring.creole +++ b/input/howto/static-mirroring.creole @@ -35,6 +35,10 @@ and add
   vhost(lines, "debaday.debian.net"            , :ssl => true
 
+and +
+  onion::service { 'debaday.debian.net'            : ensure => 'ifstatic', port => 80, target_port => 80, target_address => $onion_addr }
+
** In {{{dsa-puppet/modules/roles/manifests/static_mirror_web.pp}}}, add: {{{ ssl::service { 'debaday.debian.net' : ensure => 'ifstatic', notify => Exec['service apache2 reload'], key => true, } -- 2.20.1