From d3eaabdc6a7d39d15589dd6bf1942f7734965bdd Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 20 Nov 2021 21:12:19 +0100 Subject: [PATCH] hydra: berlin: Allow HTTP to any IP address. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I wanted to keep this minimal. It didn't work: Wireguard clients use 10.0.0.0/8 IPs directly as well. * hydra/nginx/berlin.scm (%berlin-servers): Match anything ending in a digit, which, until the gTLD crowd goes truly bonkers, is an IP address. And if it's not, the request wouldn't reach us anyway, right? Reported by Ludovic Courtès . --- hydra/nginx/berlin.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hydra/nginx/berlin.scm b/hydra/nginx/berlin.scm index c9df381..1f4b0be 100644 --- a/hydra/nginx/berlin.scm +++ b/hydra/nginx/berlin.scm @@ -820,7 +820,7 @@ PUBLISH-URL." (listen '("80")) (server-name '("ci.guix.gnu.org" ;; - "141.80.167.131")) + "~[0-9]$")) (locations (berlin-locations %publish-url)) (raw-content (list