howto/static-mirroring: add onion service
authorAdam D. Barratt <adam@adam-barratt.org.uk>
Tue, 29 Oct 2019 12:21:57 +0000 (12:21 +0000)
committerAdam D. Barratt <adam@adam-barratt.org.uk>
Tue, 29 Oct 2019 12:21:57 +0000 (12:21 +0000)
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
input/howto/static-mirroring.creole

index b99cc59..b2c9dc0 100644 (file)
@@ -35,6 +35,10 @@ and add
 <pre>
   vhost(lines, "debaday.debian.net"            , :ssl => true
 </pre>
+and
+<pre>
+  onion::service { 'debaday.debian.net'            : ensure => 'ifstatic', port => 80, target_port => 80, target_address => $onion_addr }
+</pre>
 ** 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, }