guix-commits
[Top][All Lists]
Advanced

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

01/01: hydra: nginx: Mirror redirects to ci.guix.gnu.org.


From: Ludovic Courtès
Subject: 01/01: hydra: nginx: Mirror redirects to ci.guix.gnu.org.
Date: Tue, 18 Jun 2019 09:05:04 -0400 (EDT)

civodul pushed a commit to branch master
in repository maintenance.

commit 64e7351bd2b30cf666f7c2ef572d04febfa5dd35
Author: Ludovic Courtès <address@hidden>
Date:   Tue Jun 18 15:04:40 2019 +0200

    hydra: nginx: Mirror redirects to ci.guix.gnu.org.
    
    * hydra/nginx/mirror-locations.conf (/, /index.html): Redirect to
    ci.guix.gnu.org.
---
 hydra/nginx/mirror-locations.conf | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/hydra/nginx/mirror-locations.conf 
b/hydra/nginx/mirror-locations.conf
index 882e9bc..9e87206 100644
--- a/hydra/nginx/mirror-locations.conf
+++ b/hydra/nginx/mirror-locations.conf
@@ -2,12 +2,11 @@
 # This file is meant to be included in the mirror configuration file.
 
 location = / {
-    # Make sure index.html lives in there.
-    root /var/www;
+    return 301 https://ci.guix.gnu.org;
 }
 
 location = /index.html {
-    root /var/www;
+    return 301 https://ci.guix.gnu.org;
 }
 
 location = /nix-cache-info {



reply via email to

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