guix-commits
[Top][All Lists]
Advanced

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

01/02: nginx: berlin: Handle GWL manual URL.


From: Ricardo Wurmus
Subject: 01/02: nginx: berlin: Handle GWL manual URL.
Date: Sun, 16 Feb 2020 09:59:04 -0500 (EST)

rekado pushed a commit to branch master
in repository maintenance.

commit a43e0d1ff72079b06a3f99116bb732cac3e0b761
Author: Ricardo Wurmus <address@hidden>
AuthorDate: Sun Feb 16 15:43:01 2020 +0100

    nginx: berlin: Handle GWL manual URL.
    
    * hydra/nginx/berlin.scm (%berlin-servers): Add /manual location for
    workflows.guix.info.
---
 hydra/nginx/berlin.scm | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/hydra/nginx/berlin.scm b/hydra/nginx/berlin.scm
index 4443afc..f1bbe2f 100644
--- a/hydra/nginx/berlin.scm
+++ b/hydra/nginx/berlin.scm
@@ -551,6 +551,10 @@ PUBLISH-URL."
             (uri "/.well-known")
             (body (list "root /var/www;")))
 
+           (nginx-location-configuration
+            (uri "/manual")
+            (body (list "alias /srv/gwl-manual;")))
+
            ;; Pass requests to 'guix workflow --web-interface'.
            (nginx-location-configuration
             (uri "/")
@@ -684,9 +688,13 @@ PUBLISH-URL."
     (ssl-certificate-key (le "www.guixwl.org" 'key))
     (root "/home/rekado/gwl/")
     (locations
-     (list (nginx-location-configuration
-            (uri "/")
-            (body '("proxy_pass http://localhost:5000;";)))))
+     (list
+      (nginx-location-configuration
+       (uri "/manual")
+       (body (list "alias /srv/gwl-manual;")))
+      (nginx-location-configuration
+       (uri "/")
+       (body '("proxy_pass http://localhost:5000;";)))))
     (raw-content
      (append
       %tls-settings



reply via email to

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