summaryrefslogtreecommitdiffstats
path: root/lass/1systems/prism
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-09-04 10:19:12 +0200
committerlassulus <git@lassul.us>2023-09-04 10:19:12 +0200
commitdcb9216d5c5e916378cca66aa09960a108d7b05e (patch)
tree801f04419e939ceef9c27cf4ee1d34b80c6c4221 /lass/1systems/prism
parent53b6ca655127488e4a160d4f570bc839728b515f (diff)
l prism.r: proxy flix to yellow.r
Diffstat (limited to 'lass/1systems/prism')
-rw-r--r--lass/1systems/prism/config.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/lass/1systems/prism/config.nix b/lass/1systems/prism/config.nix
index 4cc72d2f0..0753b69b5 100644
--- a/lass/1systems/prism/config.nix
+++ b/lass/1systems/prism/config.nix
@@ -200,6 +200,14 @@ with import <stockholm/lib>;
<stockholm/lass/2configs/docker.nix>
{
+ services.nginx.virtualHosts."flix.lassul.us" = {
+ forceSSL = true;
+ enableACME = true;
+ locations."/" = {
+ proxyPass = "http://yellow.r:8096";
+ proxyWebsockets = true;
+ recommendedProxySettings = true;
+ };
};
services.nginx.virtualHosts."lassul.us" = {
locations."^~ /flix/".extraConfig = ''
@@ -210,7 +218,7 @@ with import <stockholm/lib>;
auth_basic_user_file ${pkgs.writeText "flix-user-pass" ''
krebs:$apr1$1Fwt/4T0$YwcUn3OBmtmsGiEPlYWyq0
''};
- proxy_pass http://10.233.2.14:80/;
+ proxy_pass http://yellow.r:80/;
proxy_set_header Accept-Encoding "";
sub_filter "https://lassul.us/" "https://lassul.us/flix/";
sub_filter_once off;