[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: hydra: nginx: Listen on IPv6 for guix.gnu.org.
From: |
Ludovic Courtès |
Subject: |
03/03: hydra: nginx: Listen on IPv6 for guix.gnu.org. |
Date: |
Fri, 18 Nov 2022 05:32:08 -0500 (EST) |
civodul pushed a commit to branch master
in repository maintenance.
commit 464a4b35dde8e2e530fe53883cdc33466df55863
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Nov 18 11:30:51 2022 +0100
hydra: nginx: Listen on IPv6 for guix.gnu.org.
* hydra/bayfront.scm (%guix.gnu.org-http-nginx-servers): Add IPv6
'lisetn' clause.
* hydra/modules/sysadmin/nginx.scm (guix.gnu.org-nginx-server): Likewise.
---
hydra/bayfront.scm | 2 +-
hydra/modules/sysadmin/nginx.scm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index 2c8f9f2..203c1a3 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -754,7 +754,7 @@ add_header Content-Type text/plain;")))
(define %guix.gnu.org-http-nginx-servers
;; Redirect domains that don't explicitly support HTTP (below) to HTTPS.
(list (nginx-server-configuration
- (listen '("80"))
+ (listen '("80" "[::]:80"))
(server-name '("guix.gnu.org"))
(raw-content
(list "return 308 https://$host$request_uri;")))))
diff --git a/hydra/modules/sysadmin/nginx.scm b/hydra/modules/sysadmin/nginx.scm
index 1fa516e..3c3456d 100644
--- a/hydra/modules/sysadmin/nginx.scm
+++ b/hydra/modules/sysadmin/nginx.scm
@@ -705,7 +705,7 @@ synonymous IETF language tags that should be mapped to the
same $lang."
(define guix.gnu.org-nginx-server
(nginx-server-configuration
- (listen '("443 ssl"))
+ (listen '("443 ssl" "[::]:443 ssl"))
(server-name '("guix.gnu.org"))
(ssl-certificate (le "guix.gnu.org"))
(ssl-certificate-key (le "guix.gnu.org" 'key))