summaryrefslogtreecommitdiffstats
path: root/lass/2configs/services/flix/proxy.nix
diff options
context:
space:
mode:
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;
+ };
+ };
+}