guix-patches
[Top][All Lists]
Advanced

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

[bug#69783] [PATCH v2 2/2] hydra: nginx: Further adjust to website theme


From: Florian Pelz
Subject: [bug#69783] [PATCH v2 2/2] hydra: nginx: Further adjust to website themes in guix-artwork.
Date: Sun, 24 Mar 2024 19:19:50 +0100

* hydra/nginx/berlin.scm: Use /static cache settings for /themes.
---
 hydra/nginx/berlin.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/hydra/nginx/berlin.scm b/hydra/nginx/berlin.scm
index 5ba15d1..2f8cd60 100644
--- a/hydra/nginx/berlin.scm
+++ b/hydra/nginx/berlin.scm
@@ -174,6 +174,16 @@ PUBLISH-URL."
               "proxy_cache_valid any 10m;"
               "proxy_ignore_client_abort on;")))
 
+           (nginx-location-configuration
+            (uri "/themes") ;like "/static" above
+            (body
+             (list
+              "proxy_pass http://localhost:8081;";
+              "proxy_cache static;"
+              "proxy_cache_valid 200 2d;"
+              "proxy_cache_valid any 10m;"
+              "proxy_ignore_client_abort on;")))
+
            (nginx-location-configuration
             (uri "/download")                     ;Cuirass "build products"
             (body
-- 
2.41.0






reply via email to

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