summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-11-27 23:47:15 +0100
committerlassulus <lassulus@lassul.us>2021-11-27 23:47:15 +0100
commitd71fe62fffe25f20fd5534fe22c7bd414b9f98db (patch)
tree8f0cd5b9c3ced633c29f9374effc0948312a48c2
parentee59532c6067394eb4c509aca7f3bef0175b8668 (diff)
l prism.r: add jelly.r alias + proxy_pass
-rw-r--r--krebs/3modules/lass/default.nix1
-rw-r--r--lass/1systems/prism/config.nix6
2 files changed, 7 insertions, 0 deletions
diff --git a/krebs/3modules/lass/default.nix b/krebs/3modules/lass/default.nix
index 7b09ef07b..dfe7c5015 100644
--- a/krebs/3modules/lass/default.nix
+++ b/krebs/3modules/lass/default.nix
@@ -118,6 +118,7 @@ in {
"cache.prism.r"
"cgit.prism.r"
"flix.r"
+ "jelly.r"
"paste.r"
"c.r"
"p.r"
diff --git a/lass/1systems/prism/config.nix b/lass/1systems/prism/config.nix
index 45f9ae00e..c92a239f9 100644
--- a/lass/1systems/prism/config.nix
+++ b/lass/1systems/prism/config.nix
@@ -284,6 +284,12 @@ with import <stockholm/lib>;
localAddress = "10.233.2.14";
};
+ services.nginx.virtualHosts."jelly.r" = {
+ locations."/".extraConfig = ''
+ proxy_pass http://10.233.2.14:8096/;
+ proxy_set_header Accept-Encoding "";
+ '';
+ };
services.nginx.virtualHosts."flix.r" = {
locations."/".extraConfig = ''
proxy_pass http://10.233.2.14:80/;