guix-commits
[Top][All Lists]
Advanced

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

01/02: hydra: bayfront: Have NGinx listen via IPv6 as well as IPv4.


From: Christopher Baines
Subject: 01/02: hydra: bayfront: Have NGinx listen via IPv6 as well as IPv4.
Date: Tue, 21 Dec 2021 09:41:07 -0500 (EST)

cbaines pushed a commit to branch master
in repository maintenance.

commit 0c863b4457fa3eefbabde1fd090798beeb183f92
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Tue Dec 21 14:30:53 2021 +0000

    hydra: bayfront: Have NGinx listen via IPv6 as well as IPv4.
    
    This means that when the relevant AAAA records are added, these sites
    will be available over IPv6.
    
    * hydra/bayfront.scm (%hpc.guix.info-nginx-servers,
    %guix-hpc.bordeaux.inria.fr-nginx-servers,
    %coordinator.bayfront.guix.gnu.org-nginx-servers,
    %bayfront.guix.gnu.org-nginx-servers,
    %bordeaux.guix.gnu.org-nginx-servers): Listen on IPv6 as well as IPv4.
---
 hydra/bayfront.scm | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index 4ddd5fd..9768e34 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -251,7 +251,7 @@ proxy_cache_path /var/cache/nginx/bordeaux/nar
     (list
      (nginx-server-configuration
       (server-name '("hpc.guix.info"))
-      (listen '("80"))
+      (listen '("80" "[::]:80"))
       (raw-content
        '("
 access_log   /var/log/nginx/guix-hpc.access.log;"))
@@ -265,7 +265,7 @@ access_log   /var/log/nginx/guix-hpc.access.log;"))
 
      (nginx-server-configuration
       (server-name '("hpc.guix.info"))
-      (listen '("443 ssl"))
+      (listen '("443 ssl" "[::]:443 ssl"))
       (ssl-certificate "/etc/letsencrypt/live/hpc.guix.info/fullchain.pem")
       (ssl-certificate-key "/etc/letsencrypt/live/hpc.guix.info/privkey.pem")
       (root "/srv/guix-hpc-web")
@@ -309,7 +309,7 @@ access_log  /var/log/nginx/guix-hpc.access.log;"))
     (list
      (nginx-server-configuration
       (server-name '("guix-hpc.bordeaux.inria.fr"))
-      (listen '("80"))
+      (listen '("80" "[::]:80"))
       (raw-content
        '("
 access_log   /var/log/nginx/guix-hpc.access.log;"))
@@ -323,7 +323,7 @@ access_log   /var/log/nginx/guix-hpc.access.log;"))
 
      (nginx-server-configuration
       (server-name '("guix-hpc.bordeaux.inria.fr"))
-      (listen '("443 ssl"))
+      (listen '("443 ssl" "[::]:443 ssl"))
       (ssl-certificate
        "/etc/letsencrypt/live/guix-hpc.bordeaux.inria.fr/fullchain.pem")
       (ssl-certificate-key
@@ -355,7 +355,7 @@ access_log  /var/log/nginx/guix-hpc.access.log;"))
     (list
      (nginx-server-configuration
       (server-name '("logs.guix.gnu.org"))
-      (listen '("80"))
+      (listen '("80" "[::]:80"))
       (raw-content
        '("
 access_log   /var/log/nginx/logs.access.log;"))
@@ -369,7 +369,7 @@ access_log   /var/log/nginx/logs.access.log;"))
 
      (nginx-server-configuration
       (server-name '("logs.guix.gnu.org"))
-      (listen '("443 ssl"))
+      (listen '("443 ssl" "[::]:443 ssl"))
       (ssl-certificate
        "/etc/letsencrypt/live/logs.guix.gnu.org/fullchain.pem")
       (ssl-certificate-key
@@ -395,7 +395,7 @@ access_log   /var/log/nginx/logs.access.log;"))
   (list
    (nginx-server-configuration
     (server-name '("coordinator.bayfront.guix.gnu.org"))
-    (listen '("80"))
+    (listen '("80" "[::]:80"))
     (locations
      (list
       (nginx-location-configuration  ; For use by Certbot
@@ -404,7 +404,7 @@ access_log   /var/log/nginx/logs.access.log;"))
 
    (nginx-server-configuration
     (server-name '("coordinator.bayfront.guix.gnu.org"))
-    (listen '("443 ssl"))
+    (listen '("443 ssl" "[::]:443 ssl"))
     (ssl-certificate
      "/etc/letsencrypt/live/bayfront.guix.gnu.org/fullchain.pem")
     (ssl-certificate-key
@@ -458,7 +458,7 @@ proxy_set_header X-Forwarded-For  
$proxy_add_x_forwarded_for;"))
     (list
      (nginx-server-configuration
       (server-name '("bayfront.guix.gnu.org"))
-      (listen '("80"))
+      (listen '("80" "[::]:80"))
       (raw-content
        '("
 access_log  /var/log/nginx/http.access.log;
@@ -476,7 +476,7 @@ proxy_set_header X-Forwarded-For  
$proxy_add_x_forwarded_for;"))
 
      (nginx-server-configuration
       (server-name '("bayfront.guix.gnu.org"))
-      (listen '("443 ssl"))
+      (listen '("443 ssl" "[::]:443 ssl"))
       (ssl-certificate
        "/etc/letsencrypt/live/bayfront.guix.gnu.org/fullchain.pem")
       (ssl-certificate-key
@@ -573,7 +573,7 @@ add_header Content-Type text/plain;")))
     (list
      (nginx-server-configuration
       (server-name '("bordeaux.guix.gnu.org"))
-      (listen '("80"))
+      (listen '("80" "[::]:80"))
       (root (local-file "nginx/html/bordeaux" #:recursive? #t))
       (raw-content
        '("
@@ -588,7 +588,7 @@ access_log  /var/log/nginx/bordeaux.access.log;"))
 
      (nginx-server-configuration
       (server-name '("bordeaux.guix.gnu.org"))
-      (listen '("443 ssl"))
+      (listen '("443 ssl" "[::]:443 ssl"))
       (root (local-file "nginx/html/bordeaux" #:recursive? #t))
       (ssl-certificate
        "/etc/letsencrypt/live/bayfront.guix.gnu.org/fullchain.pem")



reply via email to

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