[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: hydra: berlin: Add certbot location for issues.guix.gnu.org.
From: |
Ricardo Wurmus |
Subject: |
02/02: hydra: berlin: Add certbot location for issues.guix.gnu.org. |
Date: |
Sat, 29 Jan 2022 15:47:10 -0500 (EST) |
rekado pushed a commit to branch master
in repository maintenance.
commit 916b46a4aa9c3bb44f7d6474e4663f70e9e89cfe
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat Jan 29 21:45:23 2022 +0100
hydra: berlin: Add certbot location for issues.guix.gnu.org.
* hydra/nginx/berlin.scm (%berlin-servers): Add .well-known location
for certbot renewal to issues.guix.gnu.org.
---
hydra/nginx/berlin.scm | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/hydra/nginx/berlin.scm b/hydra/nginx/berlin.scm
index 9a67826..8abd15e 100644
--- a/hydra/nginx/berlin.scm
+++ b/hydra/nginx/berlin.scm
@@ -291,9 +291,13 @@ PUBLISH-URL."
(ssl-certificate-key (le "issues.guix.gnu.org" 'key))
(root "/home/rekado/mumi/")
(locations
- (list (nginx-location-configuration
- (uri "/")
- (body '("proxy_pass http://localhost:1234;")))))
+ (list
+ (nginx-location-configuration ;certbot
+ (uri "/.well-known")
+ (body (list "root /var/www;")))
+ (nginx-location-configuration
+ (uri "/")
+ (body '("proxy_pass http://localhost:1234;")))))
(raw-content
(append
%tls-settings