diff options
author | lassulus <lassulus@lassul.us> | 2021-08-15 18:49:23 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-08-15 18:49:23 +0200 |
commit | 0d84e80619bee56591ac96ca1891169d4cbcd8a1 (patch) | |
tree | f11dba5f890dd9ce009b9dfdc744c079d3d76366 | |
parent | 1320d41152289b2a8dc1e931604844116b7cc503 (diff) |
l: add flix.r alias
-rw-r--r-- | krebs/3modules/lass/default.nix | 1 | ||||
-rw-r--r-- | lass/1systems/prism/config.nix | 6 |
2 files changed, 7 insertions, 0 deletions
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 <stockholm/lib>; 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") { |