civodul pushed a commit to branch master
in repository maintenance.
commit 8654b473f479d12eb348d4f705f05765003615a7
Author: Ludovic Courtès <[email protected]>
Date: Sat Dec 3 12:18:07 2016 +0100
hydra: bayfront: Add Tor hidden services.
---
hydra/bayfront.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index 81be7b9..56c5dd4 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -127,6 +127,14 @@
%nginx-mime-types
%nginx-cache-activation
+ ;; Make SSH and HTTP/HTTPS available over Tor.
+ (tor-hidden-service "http"
+ '((22 "127.0.0.1:22")
+ (80 "127.0.0.1:80")
+ (443 "127.0.0.1:443")))
+ (tor-service)
+
+ ;; Cron and log rotation.
(service rottlog-service-type (rottlog-configuration))
(service mcron-service-type
(mcron-configuration