[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
- bug#69783: [PATCH] doc: build: Update paths to style sheets., (continued)
[bug#69783] [PATCH] hydra: nginx: Adjust to website themes in guix-artwork., Florian Pelz, 2024/03/17
[bug#69783] [PATCH v2 1/2] hydra: nginx: Redirect 1.4.0 manual resources due to themes move., Florian Pelz, 2024/03/24
[bug#69783] [PATCH v2 2/2] hydra: nginx: Further adjust to website themes in guix-artwork.,
Florian Pelz <=