summaryrefslogtreecommitdiffstats
path: root/lass/2configs/services/flix/proxy.nix
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-02-21 11:15:26 +0100
committerlassulus <git@lassul.us>2023-02-21 11:16:52 +0100
commit79a7ab4fd8899e7ac197318bb58a3e04affdf459 (patch)
tree07d4035f80c10fb4affb14a63f6b097d51c4edfc /lass/2configs/services/flix/proxy.nix
parent6624d3aab64adcc4f8e1bf8393859fc4769e5ed2 (diff)
l yellow.r: move flix to services
Diffstat (limited to 'lass/2configs/services/flix/proxy.nix')
-rw-r--r--lass/2configs/services/flix/proxy.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/lass/2configs/services/flix/proxy.nix b/lass/2configs/services/flix/proxy.nix
new file mode 100644
index 000000000..c16c6def3
--- /dev/null
+++ b/lass/2configs/services/flix/proxy.nix
@@ -0,0 +1,12 @@
+{ config, pkgs, ... }:
+{
+ services.nginx.virtualHosts."flix.lassul.us" = {
+ forceSSL = true;
+ enableACME = true;
+ locations."/" = {
+ proxyPass = "http://yellow.r:8096";
+ proxyWebsockets = true;
+ recommendedProxySettings = true;
+ };
+ };
+}