[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: nginx: berlin: Adjust regexp for *.pdf location block.
From: |
Ludovic Courtès |
Subject: |
01/01: nginx: berlin: Adjust regexp for *.pdf location block. |
Date: |
Tue, 16 Jul 2019 04:42:41 -0400 (EDT) |
civodul pushed a commit to branch master
in repository maintenance.
commit 129efec9f59cf33501025b6f636c82ce9a7b57ee
Author: Ludovic Courtès <address@hidden>
Date: Tue Jul 16 10:41:48 2019 +0200
nginx: berlin: Adjust regexp for *.pdf location block.
* hydra/nginx/berlin.scm (guix.gnu.org-locations): Adjust regexp
for *.pdf.
---
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 5786551..226f5c6 100644
--- a/hydra/nginx/berlin.scm
+++ b/hydra/nginx/berlin.scm
@@ -433,7 +433,7 @@ PUBLISH-URL."
(uri "/manual")
(body (list "alias /srv/guix-manual;")))
(nginx-location-configuration
- (uri "~ ^.+\\.pdf$")
+ (uri "~ ^[^/]+\\.pdf$") ;*.pdf at the top level
(body (list "root /srv/guix-pdfs;")))
(nginx-location-configuration ;certbot
(uri "/.well-known")