From 0d84e80619bee56591ac96ca1891169d4cbcd8a1 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 15 Aug 2021 18:49:23 +0200 Subject: l: add flix.r alias --- krebs/3modules/lass/default.nix | 1 + lass/1systems/prism/config.nix | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/krebs/3modules/lass/default.nix b/krebs/3modules/lass/default.nix index cb68cff18..9491f6a3f 100644 --- a/krebs/3modules/lass/default.nix +++ b/krebs/3modules/lass/default.nix @@ -65,6 +65,7 @@ in { "prism.r" "cache.prism.r" "cgit.prism.r" + "flix.r" "paste.r" "p.r" "search.r" diff --git a/lass/1systems/prism/config.nix b/lass/1systems/prism/config.nix index 89a386139..bc3807545 100644 --- a/lass/1systems/prism/config.nix +++ b/lass/1systems/prism/config.nix @@ -305,6 +305,12 @@ with import ; localAddress = "10.233.2.14"; }; + services.nginx.virtualHosts."flix.r" = { + locations."/".extraConfig = '' + proxy_pass http://10.233.2.14:80/; + proxy_set_header Accept-Encoding ""; + ''; + }; services.nginx.virtualHosts."lassul.us" = { locations."^~ /flix/".extraConfig = '' if ($scheme != "https") { -- cgit v1.2.3