guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: hydra: berlin: Add berlin-specific html directory.


From: Ricardo Wurmus
Subject: 01/01: hydra: berlin: Add berlin-specific html directory.
Date: Wed, 11 Oct 2017 18:50:21 -0400 (EDT)

rekado pushed a commit to branch master
in repository maintenance.

commit ba571d8bb981b09ece0c411db434cccdd6f9e3c4
Author: Ricardo Wurmus <address@hidden>
Date:   Thu Oct 12 00:48:17 2017 +0200

    hydra: berlin: Add berlin-specific html directory.
    
    * hydra/nginx/html/berlin/index.html,
    hydra/nginx/html/berlin/berlin.guixsd.org-export.pub: New files.
    * hydra/berlin.scm (%nginx-config): Use them.
---
 hydra/berlin.scm                                   |  2 +-
 .../nginx/html/berlin/berlin.guixsd.org-export.pub |  1 +
 hydra/nginx/html/berlin/index.html                 | 27 ++++++++++++++++++++++
 3 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/hydra/berlin.scm b/hydra/berlin.scm
index 689787b..29d86d6 100644
--- a/hydra/berlin.scm
+++ b/hydra/berlin.scm
@@ -102,7 +102,7 @@
                                   "berlin-locations.conf")
                        (substitute* "berlin-locations.conf"
                          (("@WWWROOT@")
-                          #$(local-file "nginx/html" #:recursive? #t)))))))
+                          #$(local-file "nginx/html/berlin" #:recursive? 
#t)))))))
 
 (define %nginx-mime-types
   ;; Provide /etc/nginx/mime.types (and a bunch of other files.)
diff --git a/hydra/nginx/html/berlin/berlin.guixsd.org-export.pub 
b/hydra/nginx/html/berlin/berlin.guixsd.org-export.pub
new file mode 120000
index 0000000..04a7f3e
--- /dev/null
+++ b/hydra/nginx/html/berlin/berlin.guixsd.org-export.pub
@@ -0,0 +1 @@
+../../../keys/guix/berlin.guixsd.org-export.pub
\ No newline at end of file
diff --git a/hydra/nginx/html/berlin/index.html 
b/hydra/nginx/html/berlin/index.html
new file mode 100644
index 0000000..7af4dfe
--- /dev/null
+++ b/hydra/nginx/html/berlin/index.html
@@ -0,0 +1,27 @@
+<html>
+  <head>
+    <title>GNU&nbsp;Guix Substitute Server</title>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+    <meta name="keywords" content="GNU Guix, substitutes">
+  </head>
+
+  <body>
+    <h1>GNU&nbsp;Guix Substitute Server</h1>
+
+    <p>
+      Welcome!  This is <tt>berlin.guixsd.org</tt>, a
+      <a href="https://www.gnu.org/software/guix/";>GNU&nbsp;Guix</a>
+      <a 
href="https://www.gnu.org/software/guix/manual/html_node/Substitutes.html";>substitute</a>
+      server hosted at the <a href="https://mdc-berlin.de";>Max Delbrück Center 
for Molecular Medicine in the Helmholtz Association (MDC)</a> in Berlin, 
Germany.
+    </p>
+    <p>
+      To use it, follow these steps:
+    </p>
+    <ul>
+      <li>Download the <a href="berlin.guixsd.org-export.pub">public 
key</a>.</li>
+      <li>Authorize the key by running <tt>guix archive --authorize &lt; 
berlin.guixsd.org-export.pub</tt> as the root user.</li>
+      <li>Run <tt>guix-daemon</tt> or other <tt>guix</tt> commands
+      with <tt>--substitute-urls=https://berlin.guixsd.org</tt>.</li>
+    </ul>
+  </body>
+</html>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]